Sergey "DoubleF" Zaharchenko doublef at tele-kom.ru
Mon Jun 30 20:43:22 PDT 2003

Matthew Seaman wrote:
> On Mon, Jun 30, 2003 at 11:22:47AM -0500, adalrymp at bellsouth.net wrote:
>>Hello, I'm using FreeBSD 5.1 and came across something today. Say I
>>wanted to make xterms background by default i could add
>>XTerm*background: black
>>into my ~/.Xdefaults file and it would load by default. Where would I
>>go about finding out more options for more programs to place them in
>>my ~/.Xdefaults file? Thanks.
> The manual pages for the various X applications will usually have
> quite a bit of information about what you can set in ~/.Xdefaults --
> look for the section labelled 'RESOURCES'.  Another place to look is
> /usr/X11R6/lib/X11/app-defaults, where you will find the default
> values for all resources for a range of applications.
> Note that this functionality is generally only used for X applications
> based on the Athena widget set or on the Motif libraries.
> Applications using higher level X environments like Gnome or KDE tend
> to have alternate mechanisms for doing this sort of thing.
> 	Cheers,
> 	Matthew
You may also want to use editres(1) if the app supports the editres 
protocol (like xterm does).


More information about the freebsd-questions mailing list