Page 1 of 1

Author:  sinuhe [ Thu May 31, 2007 9:42 pm ]
Post subject:  Xdefaults/Xresources

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?

Author:  john maclean [ Thu May 31, 2007 11:03 pm ]
Post subject: 

Um, was $home supposed to be in CAPS?

Author:  jebba [ Fri Jun 01, 2007 1:29 am ]
Post subject: 

Ya, he meant $HOME as the environment variable:

echo $HOME

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


Author:  sinuhe [ Fri May 22, 2009 10:57 pm ]
Post subject: 

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

<code>xrdb -load</code> loads the relevant configuration resource. <code>xrdb -merge</code> sorts, and in some cases prioritizes, said configurations, hence why I saw <code>-merge</code> as the culprit for <code>gdm</code> ignoring my .Xdefaults. (Perhaps <code>-override -retain</code> 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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group