Solstice DiskSuite 4.2.1 User's Guide

Changing DiskSuite Tool's Colors and Fonts

By default, DiskSuite Tool uses colors and fonts that are compatible with the OpenWindowsTM desktop applications. This section describes how to change these colors and fonts.

DiskSuite Tool and Colors

DiskSuite Tool uses a variety of colors:

The X Window System RGB (Red, Green, Blue) color specification mechanism enables you to specify a nearly infinite variety of colors. Of course, many of these colors will appear similar, varying only slightly in shade or intensity.

To aid in selecting and specifying colors, the X Window System provides a standard default set of colors that you can specify by name instead of RGB values. This "database" of color names can be examined using the standard X utility showrgb. It shows the RGB values and a corresponding descriptive alias. For example:


# showrgb
		199  21 133	medium violet red
		176 196 222	light steel blue
		102 139 139	paleturquoise4
		159 121 238	mediumpurple2
		141 182 205	lightskyblue3
		  0 238 118	springgreen2
		255 160 122	light salmon
		154 205  50	yellowgreen
		178  58 238	darkorchid2
		 69 139 116	aquamarine4
...
 		107 107 107	gray42
 		 71  71  71	gray28
 		 61  61  61	gray24
 		255 255 255	white
 		  0 205 205	cyan3
 		  0   0   0	black

You can also examine the default color name database by looking at the /usr/openwin/lib/X11/rgb.txt file.

Unfortunately, there are no standard applications for browsing colors. If you don't have access to a public domain color browser, experiment by trial and error.

DiskSuite Tool's Default Colors

DiskSuite Tool's default colors are shown in Table 8-1.

Table 8-1 DiskSuite Tool's Default Colors

Color Type 

Color 

Standard Foreground 

black 

Standard Background 

gray 

Canvas Background 

gray66 

Mapping Colors:

 

mappingColor1 

blue 

mappingColor2 

green 

mappingColor3 

magenta 

mappingColor4 

cyan 

mappingColor5 

purple 

mappingColor6 

mediumseagreen 

mappingColor7 

firebrick 

mappingColor8 

tan 

mappingColor9 

white 

Status Colors:

 

Critical 

red 

Urgent 

orange 

Attention 

yellow 

DiskSuite Tool and Fonts

DiskSuite Tool uses four different fonts:

Available Fonts in DiskSuite

The available fonts depend on which X Window System server you use to display the application. The standard X utility, xlsfonts(1), displays the available fonts on a server. For example:


# xlsfonts
--courier-bold-o-normal--0-0-0-0-m-0-iso8859-1
--courier-bold-r-normal--0-0-0-0-m-0-iso8859-1
--courier-medium-o-normal--0-0-0-0-m-0-iso8859-1
--courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
--symbol-medium-r-normal--0-0-0-0-p-0--symbol
-symbol-medium-r-normal--0-0-0-0-p-0-sun-fontspecific
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-1
...
utopia-bolditalic
utopia-italic
utopia-regular
variable
vshd
vtbold
vtsingle
zapfchancery-mediumitalic
zapfdingbats

Another helpful utility for displaying available fonts is xfontsel(1). Refer to the man pages for these utilities for more information.

DiskSuite Tool's Default Fonts

DiskSuite Tool's default fonts all come from the Lucida font family:

Table 8-2 DiskSuite Tool's Default Fonts

Font Type 

Font 

Standard Font 

lucidasans12 

Mono-spaced Font 

lucidasans-typewriter12 

Bold Font 

lucidasans-bold12 

Small Font 

lucidasans8 

DiskSuite Tool uses the X Window System's resource database mechanism to determine which fonts to use. The default resource specifications are:

Table 8-3 DiskSuite Tool's Default Font Resource Specifications

Resource 

Font 

Metatool*fontList: 

lucidasans12 

Metatool*smallFontList: 

lucidasans8 

Metatool*boldFontList: 

lucidasans-bold12 

Metatool*fixedFontList: 

lucidasans-typewriter12 

Metatool*XmList.fontList: 

lucidasans-typewriter12 

Metatool*Help*helpsubjs.fontlist: 

lucidasans-typewriter12 

Metatool*Help*helptext.fontlist: 

lucidasans-typewriter12