DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Overview of the Graphical Environment

The .Xdefaults-hostname file

The .Xdefaults-hostname file, located in $HOME, defines resource specifications for clients invoked by an individual user. hostname refers to the name of the machine on which the clients are running.

If you run clients on multiple hosts, you need to create an .Xdefaults-hostname file on each host.

The $HOME/.Xdefaults-hostname file is not created by default. If you want to specify your own individual resources, you must first create this file.

The .Xdefaults-hostname file overrides default resource specifications that are defined in client-specific resource files, located in /usr/lib/X11/app-defaults. These files take the name client, where the client's class name is used. For example, the ScoHelp file contains resource specifications for the DocView help system, and the ScoTerm file contains resource specifications for the scoterm client.

Finally, individual users can create client-specific resource files that only control the clients they run without affecting other users on the system. As in the /usr/lib/X11/app-defaults directory, these files use a client's class name as their filename; however, they are located in the user's home directory.

For example, if you want to define several unique Desktop resources and store them in your own personal client-specific resource file, you would name the file $HOME/XDesktop3.

See also:


Next topic: The pmwmrc and .mwmrc files
Previous topic: The .startxrc file

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005