From: sinster@lyell.ucsc.edu (Darren Senn) Subject: Re: .xdefaults Date: 3 Jun 1992 20:02:05 GMT
In article <1992Jun1.170841.13683@tc.cornell.edu>, elan@cheme.tn.cornell.edu writes:
> Can anyone tell me what the general protocol is for adding entries to
> one's .defaults file is? When I get a new program do I just add its
> defaults in to the end of my file? I've also noticed that a lot of
> defaults conflict, when something of the form *background is specified.
> This is bad from isn't it? Am I suppose to edit this and then put it
> into my defaults file? Thank for any help in advance.
When you get a new program, usually it comes with an App-defaults file.
The info in this file does _not_ go into your ~/.Xdefaults file. Instead,
you should put it in /usr/lib/X11/app-defaults/Programname. An example
is the xtetris applications defaults which should be
/usr/lib/X11/app-defaults/Xtetris
(notice that the first letter is capitalized, and the rest isn't). Actually,
the name should be the same as the program itself uses to request resources
from the server, but you can't find that out without a complete man page
or the source code... usually it's the program name capitalized. The
file needs to be mode 644. If you want to customize the program on a
per-user basis, _then_ you use your ~.Xdefaults.
-- Darren Senn Phone: (408) 479-1521 sinster@scintilla.capitola.ca.us Snail: 1785 Halterman #1 Wasurenaide -- doko e itte mo soko ni anata wa iru yo. Santa Cruz, Ca 95062