[Back to TkGoodStuff] TkGoodStuff Variables

TkGoodStuff Variables

The variables which govern the look and behavior of tkgoodstuff are configurable with commands in your ~/.tkgoodstuffrc file.

General Variables

source_dir
The directory that contains tkgoodstuff and clients. The correct default should have been set for you at installation.
TKG_geometry
See "Geometry" in the documentation on Running TkGoodStuff. (-5+2)
TKG_orientation
The (initial) orientation in which elements are stacked (see Stacking in the documentation on composing .tkgoodstuffrc files).
TKG_imageside
The side on which, by default, an button icon will be placed with respect to the text label. (top by default)
images
A directory path, for use in identifying images in that directory as $images/filename). ("$source_dir/images" by default)
imagetypelist
A list of image types that your wish interpreter might understand. ({bitmap photo pixmap} by default)
labelsonly
Should we use only labels on our buttons, ignoring specified icons? (1 or 0; 0 by default)
iconsonly
Should we use only icons on our buttons, ignoring specified labels? (1 or 0; 0 by default)
TKG_border
How big a border (in pixels) should we put around the whole panel? (0 by default)
TKG_nobeep
Should we never beep? (1 or 0; 0 by default)
TKG_nonotices
Should we never post notices? (1 or 0; 0 by default)
TKG_browser
Your web browser command (any unix command; "netscape" by default)
TKGlogfile
The file to which to write tkgoodstuff logging information. (Defaults to .tkgoodstuff-log in the user's home directory.)
TKGlogging
Should we log our log information to a file rather than just to the internal log viewer? (1 or 0; 0 by default.)

Variables for Color Configuration

Each of these takes as its value any valid X color specification. Defaults are given in parentheses.
TKGbackground
Color of backgrounds not more specifically defined (#b0a8ac).
TKGbordercolor
Color of the main border, if any ($TKGbackground).
TKGforeground
Foreground (type) color of everything not more specifically defined (black).
TKGbuttonbackground
Background of buttons (generated from $TKGbackground).
TKGbuttonforeground
Color of type and/or icons on buttons ($TKGforeground).
TKGactivebackground
Background of buttons when mouse pointer passes over (generated from $TKGbackground).
TKGlabelboxbackground
Background of label boxes (generated from $TKGbackground).
TKGlabelboxforeground
Type color in label boxes ($TKGforeground).
TKGmenutitleforeground
Type color of the main title in the popup menu (red4).
TKGnoticetitleforeground
Type color of the title in the notice windows ($TKGforeground).
TKGscrollbartrough
Color of the "trough" behind scrollbars (generated from $TKGbackground).
TKGentrybackground
Color of entry (type-in) slots (lightblue).

Variables for Font Configuration

TKGgeneralfont
Font for anything not more specifically defined:
     "-*-Helvetica-bold-r-*-*-14-*-*-*-*-*-*-*"
TKGcombofont
Font for text in buttons when combined with an icon:
     "-*-Helvetica-bold-o-*-*-12-*-*-*-*-*-*-*"
TKGlabelonlyfont
Font for text in buttons when there is no icon:
     "-*-Helvetica-bold-o-*-*-14-*-*-*-*-*-*-*"
TKGlabelboxfont
Font for text in label boxes.
     "-*-Helvetica-bold-r-*-*-16-*-*-*-*-*-*-*"
TKGdialogtitlefont
Font for titles in TKGDialogs (popup notices)
     "-*-Helvetica-bold-r-*-*-18-*-*-*-*-*-*-*"
TKGdialogfont
Font for text in TKGDialogs
     "-*-Helvetica-medium-r-*-*-16-*-*-*-*-*-*-*"

Sep 14, 1995. Mark Crimmins markcrim@umich.edu

[Back to TkGoodStuff]