.Xdefaults

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Jun 30 11:06:44 PDT 2003


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

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030630/c78ba58e/attachment.bin


More information about the freebsd-questions mailing list