BLAG

BLAG Forums
It is currently Fri Dec 19, 2014 9:42 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Xdefaults/Xresources
PostPosted: Thu May 31, 2007 9:42 pm 
Offline

Joined: Sun Aug 13, 2006 8:26 pm
Posts: 42
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.

Top
 Profile  
 
 Post subject:
PostPosted: Thu May 31, 2007 11:03 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
Um, was $home supposed to be in CAPS?

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 01, 2007 1:29 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 22, 2009 10:57 pm 
Offline

Joined: Sun Aug 13, 2006 8:26 pm
Posts: 42
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group