[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Single Page
Top Document: SGI graphics Frequently Asked Questions (FAQ)
Previous Document: -28- What is a good approach to take in looking for resources?
Next Document: -30- Why do long resources cause X to crash mysteriously in IRIX 5.2?
-
Search the FAQ Archives
Single Page
Top Document: SGI graphics Frequently Asked Questions (FAQ)
Previous Document: -28- What is a good approach to take in looking for resources?
Next Document: -30- Why do long resources cause X to crash mysteriously in IRIX 5.2?
-29- What is the precedence for resource files?
The following list indicates the weight of set resources.
Items at the top have the greatest weight.
1) Hard coded values for resources.
2) Command line arguments.
3) Resources pointed to by $XENVIRONMENT.
4) Resource values loaded into the Resource Data Base via xrdb.
5) Resources pointed to by other environment variables :
IF $XUSERFILESEARCHPATH is set
then it contains a list of directories to search.
ELSE IF $XAPPLRESDIR is set
it contains a single directory, and a short list of related
directories (e.g. adjusted for language) is where resource files
must be found.
ELSE
Look in a short list of places related to $HOME (e.g. language
adjusted). This includes files in $HOME that have the name of
the class of the application.
6) Resource values set in $HOME/.Xdefaults, provided that the
RESOURCE_MANAGER property hasn't been set via the xrdb command.
(see the third paragraph in the xrdb man page)
7) Values set in /usr/lib/X11/app-defaults/*.
8) Values set through through the application's fall back mechanism.
Top Document: SGI graphics Frequently Asked Questions (FAQ)
Previous Document: -28- What is a good approach to take in looking for resources?
Next Document: -30- Why do long resources cause X to crash mysteriously in IRIX 5.2?
Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
sgi-faq@viz.tamu.edu (The SGI FAQ group)
Last Update October 22 2009 @ 05:34 AM