Any tutorial on the mysteries of .Xresources file?

Ian Zimmerman nobrowser-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Nov 5 15:02:06 UTC 2005


Charles> That is why my ~/.Xdefaults is symlinked to ~./Xresources. It
Charles> makes things easier.

Walter> ln -s /home/waltdnes/.Xresources /home/waltdnes/.Xdefaults

Walter> ...and "it woiks"!!!  Thanks for your help, guys.

It should be understood that these two names work with different
mechanisms reading the settings, though.

.Xdefaults is read directly by the app, it is basically just another
config file format, like ~/.*rc files.  .Xresources, OTOH, is read by
the X server when the X session starts, and then the app queries the 
server for the settings using the X protocol.

This distinction is important when you use X remotely (then the files
are on different machines).

But the particular case of font settings is (slowly?) going away as xft
fonts take over.

-- 
A true pessimist won't be discouraged by a little success.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list