DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Understanding resources

Setting resources in the X server

Resources are loaded into the X server by the X resource database client, xrdb. The xrdb client is run automatically by scosession when you log in through scologin or when you run the /usr/bin/startx script from the command line.

The /usr/lib/X11/sco/startup directory contains several display-specific resource files, named for the clients they represent. For example, the ScoHelp file contains resources for the DocView help system and the ScoMail file contains resources for scomail. This directory also contains two other files, Colors and Fonts. These files contain global color and font resources that are used by clients unless they specifically define their own color and font values.

The xrdb client reads the values in these files when scosession is started and loads them into the resource database, storing them directly in the X server. (Technically speaking, the resource values are stored in a data structure referred to as the RESOURCE_MANAGER property of the Root window for that server. This property is simply referred to as the resource database.)

Resources that are stored in the X server are available to all clients, regardless of the machine on which they are run.

While the xrdb client is run by scosession, it can also be invoked interactively, using the following syntax:

xrdb [options] [filename]

When using xrdb, note the following:


See also:


Next topic: Examining the contents of the resource database
Previous topic: Methods for specifying resources

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003