[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/X11R6/lib/X11/app-defaults



On Thu, 16 Jan 1997 18:37:46 EST "Daniel S. Barclay" 
(daniel@compass-da.com) wrote:

> 
> 
> In Debian Linux, do files in /usr/X11R6/lib/X11/app-defaults/ get read
> or not?

Definitely yes.

> The Debian FAQ says:
> 	Debian's X11 installation expects you to leave the files in 
> 	/usr/X11R6/lib/X11/app-defaults/ unchanged. If you want to customise 
> 	X applications globally, put your customizations in 
> 	/etc/X11/Xresources. This file is marked as a configuration file, so 
> 	its contents will be preserved during upgrades.

This just says that the user/admin shouldn't modify these files and 
that they will be changed without warning when upgrading (contrarily 
to /etc/X11/Xresources).

> (For example, do .../app-defaults/ files apply if there is no corresponding
> file in .../Xresources/?  If there is such a corresponding file, does 
> nothing in the .../app-defaults/ apply, or does everything apply except for
> things overridden in the file in .../Xresources/?

The Xresources file is loaded into the server by the X init scripts with xrdb -merge. You may customize several applications into this file, eg:
  XTerm*background:red
  Xload*background: blue

The precedence is:
  1) resources passed in the command line
  2) resources read in the X database (ie the /etc/X11/Xresources file)
  3) static application resources in the app-defaults directory.

Hope that helps...
Phil.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: