Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

~/.Xdefaults vs ~/.Xresources (FAQ item?)

870 views
Skip to first unread message

David I. Schwartz

unread,
Aug 14, 2005, 11:43:06 PM8/14/05
to
hi all -- I after digging around and going in circles, I've decided to
finally ask for help... how do Xdefaults and Xresources differ? I've
seen people claim they're the same, and others claim that Xdefaults is
outdated. Others say that Xresources gets accessed when starting the
window manager, and Xdefaults gets accessed each time an X client is
run. I suspect that various systems set things up differently, but
perhaps there's a universal standard...?

thanks,
Dave

Russell Shaw

unread,
Aug 15, 2005, 8:36:54 AM8/15/05
to

Xlib Programming Manual P.441

Prior to X11R2, X resource settings were read from .Xdefaults file
in users home directory and optionally on whatever machine the X client
was running on, so multiple files was hard to maintain.

Later on, xrdb program was made to store users resource settings from
in .Xresources into the XA_RESOURCE_MANAGER property of the root window
on the current X server, so all clients connected to the same server has
access to them. If the user hasn't called xrdb to set the property, then
.Xdefaults is read.

0 new messages