X Window System User's Guide for X11 R3 and R4 of the X Window System
by Valerie Quercia, Tim O'Reilly
9
Setting Resources
This chapter describes how to set resource variables that determine application features such as color, geometry, fonts, and so on. It describes the syntax of resource definition files such as .Xresources, as well as the operation of xrdb, a client that can be used to change resource definitions dynamically, and make resources available to clients running on other machines.
In This Chapter:
Syntax of Toolkit Client Resources
Tight Bindings and Loose Bindings
Precedence Rules for Resource Specification
The Syntax of Event Translations
xterm Translations to Use xclipboard
Specifying Resources from the Command Line
Querying the Resource Database
Loading New Values into the Resource Database
Saving Active Resource Definitions in a File
9
Setting Resources
Virtually all X clients are customizable. You can specify how a client looks on the screen—its size and placement, its border and background color or pattern, whether or not the window has a scrollbar, and so on. Some applications even allow you to redefine the keystrokes or pointer actions used to control the application.
Traditional UNIX applications rely on command line options to allow users to customize ...