zhu wang wrote:
Thanks to Glynn Clements and Giacomo Boffi.
Yes, what I need is
xrdb -merge ~/.Xdefaults
Another problem is why I need to apply "xrdb ..." every time when I
restart the Linux system? Do I miss something?
The "X resources db" is generated by merging multiple sources. One of
these sources is *either* the data which is stored in the X server by
xrdb *or* the contents of ~/.Xdefaults.
The ~/.Xdefaults file is only used if no data has been stored by xrdb.
It's common for startx, xdm etc to be configured so that if the file
~/.Xresources exists, it is passed to xrdb. In this case, ~/.Xdefaults
won't be used.
For more information on X resources, see Q20 in the
comp.windows.x.intrinics FAQ:
http://www.faqs.org/faqs/Xt-FAQ/section-21.html
--
Glynn Clements <glynn.clements(a)virgin.net>