FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
Xdefaults/Xresources

 
Post new topic   Reply to topic    BLAG Forum Index -> support
View previous topic :: View next topic  
Author Message
sinuhe
PostPosted: Thu May 31, 2007 9:42 pm    Post subject: Xdefaults/Xresources Reply with quote

Re: 60001

/etc/gdm/Init/Default uses -merge for xrdb, having the annoying result of ignoring my $HOME/.Xdefaults. xrdb -load "$sysresources" seems to let gdm/xrdb play nice with my local configuration.

Is there something more suitable I could have done?



Last edited by sinuhe on Sat Aug 18, 2007 5:02 pm; edited 1 time in total
john maclean
PostPosted: Thu May 31, 2007 11:03 pm    Post subject: Reply with quote

Um, was $home supposed to be in CAPS?

_________________
BLAG 'em up!
jebba
PostPosted: Fri Jun 01, 2007 1:29 am    Post subject: Reply with quote

Ya, he meant $HOME as the environment variable:

Code:
echo $HOME


As for the rest, I'm not sure what he's talking about. ;)

-Jeff

sinuhe
PostPosted: Fri May 22, 2009 10:57 pm    Post subject: Reply with quote

jebba wrote:
As for the rest, I'm not sure what he's talking about. ;)


xrdb -load loads the relevant configuration resource. xrdb -merge sorts, and in some cases prioritizes, said configurations, hence why I saw -merge as the culprit for gdm ignoring my .Xdefaults. (Perhaps -override -retain might have been more suitable.)

Having said that, it seems I have been living in the past. Fedora now uses (deprecating .Xdefaults?) .Xresources, ie $sysresources points to .Xresources through the new xinitrc-common file (instead of the old gdm/Init/Default) and explicitly includes $HOME/.Xresources.

Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> support
Page 1 of 1

Protected by Anti-Spam ACP