Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

SGI graphics Frequently Asked Questions (FAQ)
Section - -29- What is the precedence for resource files?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum archive ]


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?
See reader questions & answers on this topic! - Help others by sharing your knowledge

  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.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




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 March 27 2014 @ 02:12 PM