Customize a Color Scheme
Color schemes translate color names requested by client applications into red, green, and blue (RGB) values. If you are using a client that explicitly references a color name (for example, "
rosybrown") that is not in the default color scheme, you will need to customize the session's color scheme to include the name.
For some client applications, you can determine which colors are required by examining the command line that starts the application. For example, the following command starts an xterm with a
gray2 foreground and a
/usr/bin/X11/xterm -fn 6x13 -sb -ls -d %IP#% -fg gray2 -bg cyan2 &
For other clients, an error message that references the missing color is displayed when the client fails to start. In the following example, the
leaf application cannot start because the color
rosybrown is missing.
Can't allocate named color rosybrown leaf: Can't create window
To customize a color scheme
Using X Manager, click Tools > Color Schemes, and select a scheme from which to make a customized copy, and then click Clone.
Using Administrative Console, from the Domain Definitions side tab, under Color Schemes, select a scheme from which to make a customized copy, and then click Action > Clone.
For the Scheme name, use the name provided, or enter your own.
On Colors In Scheme, click the plus sign (+).
new color" entry is added to the end of the color table.
new colorand enter the name of the color required by the client application.
Click the RGB tab and set the RGB values for the new color.
The Color Schemes window closes.
In each of the session definitions that you want to reference it, use the Display tab to select the new customized color scheme.
On existing running sessions, color changes take effect only after restarting the session.