[linux] Re: .Xdefaults ignored?

John Klingler john at jupiter.com
Tue Feb 13 23:34:23 CET 2007


Thanks, Thorsten,

I'm a little embarrassed I forgot the resource database is kept in the X 
server. Without running xrdb or restarting KDE none of the changes in 
.Xdefaults would make a bit of difference. Problem solved. (No problem 
with KDE reading .Xdefaults, either.)

Of course, finding the correct property, FileSelect*selectColor, was a 
real pain, but that's another story.


John

Thorsten Haude wrote:

>Hi,
>
>* John Klingler wrote (2007-02-13 11:17):
>  
>
>>One thing the has annoyed me is there is no visible indication when 
>>selecting a file, for example in the Load Tags dialog. The background is 
>>gray. Perhaps it is highlighting with the background color.
>>    
>>
>
>Sounds like you use KDE. Look here:
>    https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1520165&group_id=11005
>
>
>  
>
>>I tried putting the following line in ~/.Xdefaults:
>>
>>nedit*FileSelect*selectColor: yellow
>>
>>This had no effect.
>>    
>>
>
>Google has hints that KDE has problem reading in ~/.Xdefaults. Try one
>of the following:
>- symlink ~/.Xdefaults to ~/.Xresources
>- run 'xrdb -merge ~/.Xdefaults' at KDE startup.
>
>
>  
>
>>I tried putting it in ~/.nedit, also with no effect.
>>    
>>
>
>You shouldn't be putting things into ~/.nedit, it's overwritten every
>time you save your preferences from within NEdit.
>
>
>  
>
>>Then I noticed nedit ignores whatever I put in ~/.Xdefaults or in
>>~/.nedit.
>>    
>>
>
>Are you sure about the latter part?
>
>
>  
>
>>Since there is no app-defaults file I was wondering, is there a nedit 
>>system file overriding my .Xdefaults or does nedit ignore the file 
>>altogether?
>>    
>>
>
>NEdit is not supposed to do anything about ~/.Xdefaults. This file is
>to be read by your X Window server at startup. NEdit then reads the
>values from a in-memory database kept by the server.
>
>If you want to experiment with resource settings in ~/.Xdefaults you
>can use the following steps.
>- Save your changes on ~/.Xdefaults
>- Tell the X server to read in the changes: xrdb -merge ~/.Xdefaults
>- Restart NEdit
>
>Alternatively, restart the server after your changes are saved.
>
>
>Thorsten
>  
>


More information about the Discuss mailing list