Go to the first, previous, next, last section, table of contents.


Customization with X Resources

The file `Sd.res' is a sample X user resource file for the program. It contains values for a number of parameters, including most of the text on the screen that is not fetched from the calls database.

All values in the distributed `Sd.res' file--except the colors--are the defaults and are in the file for illustration only. To change a value, copy its line into the file `$HOME/Sd' and make the change you want.

People who have many user resource files for different applications may wish to store them in a directory other than their home directory. To do so, set the environment variable XAPPLRESDIR to the directory where your resource files are. For example, one of the authors uses the subdirectory `app-resources', and his .cshrc contains this line:

setenv XAPPLRESDIR ~/app-resources

To use a different value for any of these parameters, either edit the resource file or load the changed value into your X server's resource database. To modify the server resource database, put a modified version of the appropriate line in the `.Xresources' file in your home directory (assuming you run xrdb .Xresources from `.xsession' or whatever your X startup file is called). You will have to re-run xrdb after editing your `.Xresources' file. You should add `Sd' to the front of any lines you move to your `.Xresources' file.

To have mouse button 3 invoke the Undo operation, as one of the authors does, set these resources:

Sd*frame*Label*Translations: #override <Btn3Down>: undo()
Sd*frame*List*Translations: #override <Btn3Down>: undo()


Go to the first, previous, next, last section, table of contents.