Name
dtstyle
Note:There are no style manager specific options that can be specified in the command line.
Dtstyle provides interactive customization of visual elements and system behavior for the desktop through the style manager.
This component consists of the UI and supporting code that allows the end user to interactively customize most of the visual elements and system behavior for the CDE. This component also helps define some resource utilization conventions. The style manager’s main window which consists of an iconic interface is invoked from the Front Panel. The style manager window contains icons representing customization in several areas.
There are no style manage specific options that can be set from the command line.
Name |
imServerHosts |
A comma-separated list of IM server hosts.
The style manager used the following resources to control its appearance and behavior.
Name |
writeXrdbImmediate |
Controls when new font size or new mouse double-click time resources are used. If True, new resources are used when new clients start. If False, new resources are used at the next session (after logout, with "Resume Current Session" selected in the Startup dialog).
The following resources are specified in Dtstyle (dtstyle’s app-defaults file).
Name |
mainRC.orientation |
componentList |
secondaryColorSetId |
toneScale.maximum |
toneScale.minimum |
durationScale.maximum |
Controls the layout of the style manager main window. If this resource is set to VERTICAL then the style manager main window is displayed vertically.
Specifies the locale-specific Style Manager components with a list of component keywords separated by spaces. Valid component keywords include: Color, Font, Backdrop, Keyboard, Mouse, Audio, Screen, Window, and Startup.
Default in the C locale: Color Font Backdrop Keyboard Mouse Beep Screen Dtwm Startup. Default in the Japanese locale: Color Font Backdrop Keyboard Mouse Beep Screen Dtwm Startup I18N.
Specifies the color to be used for the menubar and all menus and dialogs of the dtstyle application.
Specifies the maximum value to be used for the tone slider in the Beep dialog.
Specifies the minimum value to be used for the tone slider in the Beep dialog.
Specifces the maximum value to be used for the duration slider in the Beep dialog.
Specifies the accelerator key for the Exit menu option of the style manager main window.
Specifies the text for the accelerator key that appears next to the Exit menu option of the style manager main window.
The following font resources are specified in Dtstyle.
Name |
numFonts |
systemFont1 |
systemFont2 |
systemFont3 |
systemFont4 |
systemFont5 |
systemFont6 |
systemFont7 |
userFont1 |
userFont2 |
userFont3 |
userFont4 |
userFont5 |
userFont6 |
userFont7 |
Specifies the number of System/User Font alias pairs presented in the Font dialog. The default is 7.
Specifies a SystemFont alias for a particular font size that can be selected in the Font dialog.
The default system font aliases are:
CWSF1 -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*: SF2 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*: SF3 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*: SF4 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*: SF5 -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*: SF6 -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*: SF7 -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
Specifies a UserFont for a particular font size that can be selected in the Font dialog.
The default user fonts are local specific. For English language-US the defaults are:
CWUF1 -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*: UF2 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*: UF3 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*: UF4 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*: UF5 -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*: UF6 -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*: UF7 -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
The following resources are used by more than one desktop component. The syntax for specifying global resources is: CW*resource_id.
Name |
colorUse |
dynamicColor |
foregroundColor |
shadowPixmaps |
writeXrdbColors |
NOTE: The display type determines default.
Specifies the number of colors to use for the user interface. The default value for this resource is dependent on the number of bit planes available in the display. However, to reduce the number of col- ors used by the desktop, the default color use for a high color display is MEDIUM_COLOR. Valid values are: B_W" - Specifies a black and white system. The color palettes use only Black and White (color cells 0 and 1) and icons are displayed as bitonal images. In this configuration four color palettes are available: Black, White, BlackWhite and WhiteBlack. These palettes do not dynamically change. To change a palette, the session must be restarted. This resource value forces shadowPixmaps to True, and foregroundColor to either black or white depending on the palette chosen. LOW_COLOR" - Specifies a low color system. The color palettes use 2 color sets and icons are displayed as bitonal images. The number of color cells can be further reduced by using the resources shadowPixmaps and foregroundColor. MEDIUM_COLOR - Specifies a medium color system. The color palettes use 4 color sets and icons are displayed as bitonal images. The number of color cells can be further reduced by using the resources shadowPixmaps and foregroundColor. HIGH_COLOR - Specifies a high color system. The color palettes use 8 color sets and icons are displayed as multi-color images. The number of color cells can be reduced by using the resources shadowPixmaps and foregroundColor.
This resource can have values of True or False. dynamicColor is used to reduce the number of color cells being used. Once a palette has been selected and it is not likely to be changed, dynamicColor can be set to False. If set to False colors cannot be dynamically changed using the Style Manager. A selected palette will take effect the next session. The next time the session comes up, the color server uses Read Only color cells that can be shared by all clients, thus reducing the number of color cells used.
This resource can have values of White, Black or Dynamic. foregroundColor causes all text (foreground) to use either pixel 0 or 1 (Black or White) or to have a color cell dedicated to foreground that changes in response to the background color (Dynamic) for each ColorSet. If set to White or Black, the number of color cells used per ColorSet is reduced by 1.
For color systems, this resource can have a value of True or False. If True, topShadowColor and bottomShadowColor use the same pixel as background and topShadowPixmap and bottomShadowPixmap are specified instead of solid color to create the 3D look. This reduces the number of color cells per ColorSet by 2. shadowPixmaps defaults to True for systems with 4 or less color planes (16 or less color cells), and False for systems with more than 4 color planes.
This resource should only be used if non desktop Motif clients are to be run that have color schemes that conflict with the desktop colors. This resource has no impact on clients linked with the desktop Motif library. This resource specifies whether color resource information should be written out. If set to False, background and foreground resources are not written out with the values of the current palette. This means that the above-mentioned clients do not get the desktop colors when they are started. The default value is True.
The following resources are specified on a per client basis. The syntax for specifying client-specific resources is: client_name_or_class*resource_id.
Name |
primaryColorSetId |
secondaryColorSetId |
This resource specifies the primary color for an application. The primary color is used for the main background areas of the application and all children of the main area. The value of this resource is a number from one to eight that represents a specific color set in a palette.
This resource specifies the secondary color for an application. The secondary color is used for the menubar and all menus and dialogs of the application. This allows dialogs on the screen to be visually associated with their parent applications by matching the dialog color to the menubar. The value of this resource is a number from one to eight that represents a specific color set in a palette.
The following are dtwm-specific resources.
Name |
activeColorSetId |
inactiveColorSetId |
Specifies the active frame color for dtwm. The value of this resource is a number from one to eight, which represents a specific color set in a palette.
Specifies the inactive frame color for dtwm. The value of this resource is a number from one to eight, which represents a specific color set in a palette.
The following resources are written out to xrdb by the style manager.
color use mode for help.
color use mode.
value of current color palette
value of the current palette if it is monochrome
motif resource
motif resource
motif resource
motif resource
motif resource
motif resource
motif resource
when set to true button 2 performs adjust operation at the next session
font displayed in labels and other non-editable text areas.
font displayed in text widgets.
motif resource.
motif resource.
motif resource.
motif resource.
font resource.
dtpad resource.
A comma-separated list of input method server hosts
Methods are OnTheSpot, OverTheSpot, OffTheSpot, and Root. For details, refer to the description of the XmNpreeditType resource in the VendorShell man page.
This environment variable specifies the names of the available screen saver actions (separated by a blank space). Using this variable allows the style manager to query the actions data base and display a list of the available screen saver clients for the user and to invoke screen saver actions for preview of selected screen savers.
None.
The style manager uses X properties to communicate with the session manager and the window manager.
Only one single copy of dtsyle is permitted to run per CDE session. Attempts to start a second copy of dtsyle will fail and log an error to the $HOME/.dt/errorlog file.