![]() |
![]()
| ![]() |
![]()
NAMEdtstyle — the CDE Style Manager SYNOPSISdtstyle DESCRIPTIONNote:
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. Key Supported Tasks
OPTIONSThere are no style manage specific options that can be set from the command line. RESOURCESNew Resources
imserverHostsA comma-separated list of IM server hosts. Style Manager specific resourcesThe style manager used the following resources to control its appearance and behavior.
writeXrdbImmediateControls 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).
mainRC.orientationControls the layout of the style manager main window. If this resource is set to VERTICAL then the style manager main window is displayed vertically. componentListSpecifies 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. secondaryColorSetIdSpecifies the color to be used for the menubar and all menus and dialogs of the dtstyle application. toneScale.maximumSpecifies the maximum value to be used for the tone slider in the Beep dialog. toneScale.minimumSpecifies the minimum value to be used for the tone slider in the Beep dialog. durationScale.maximumSpecifces the maximum value to be used for the duration slider in the Beep dialog. fileMenu.exit.acceleratorSpecifies the accelerator key for the Exit menu option of the style manager main window. fileMenu.exit.acceleratorTextSpecifies the text for the accelerator key that appears next to the Exit menu option of the style manager main window. dtstyle Specific ResourcesThe following font resources are specified in Dtstyle.
numFontsSpecifies the number of System/User Font alias pairs presented in the Font dialog. The default is 7. systemFont[1-7]Specifies a SystemFont alias for a particular font size that can be selected in the Font dialog. The default system font aliases are: SF1 -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*-*-*-*-*-*-*-*-*: userFont[1-6]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: UF1 -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*-*-*-*-*-*-*-*-*: Color and backdrop resources: Global toThe following resources are used by more than one desktop component. The syntax for specifying global resources is: *resource_id.
NOTE: The display type determines default. ColorUseSpecifies 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.
dynamicColorThis 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. foregroundColorThis 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. shadowPixmapsFor 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. writeXrdbColorsThis 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. Color resources: client specificThe following resources are specified on a per client basis. The syntax for specifying client-specific resources is: client_name_or_class*resource_id.
primaryColorSetIdThis 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. secondaryColorSetIdThis 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. Color resources: dtwm specificThe following are dtwm-specific resources.
activeColorSetIdSpecifies 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. inactiveColorSetIdSpecifies 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. Resources Saved to xrdb by the Style ManagerThe following resources are written out to xrdb by the style manager. *HelpColorUsecolor use mode for help. *ColorUsecolor use mode. *ColorPalettevalue of current color palette *MonochromePalettevalue of the current palette if it is monochrome *backgroundmotif resource *foregroundmotif resource Dtwm.keyboardFocusPolicymotif resource Dtwm*focusAutoRaisemotif resource Dtwm*moveOpaquemotif resource Dtwm*useIconBoxmotif resource *multiClickTimemotif resource *enableBtn1Transferwhen set to true button 2 performs adjust operation at the next session *systemFont: &<systemFont[1-7]>font displayed in labels and other non-editable text areas. *userFont: &<userFont[1-7]>font displayed in text widgets. *FontList: &<systemFont[1-7]>motif resource. *XmText*FontList: &<userFont[1-7]>motif resource. *XmTextField*FontList: &<userFont[1-7]>motif resource. *Font: &<systemFont[1-7]>motif resource. *FontSet: &<systemFont[1-7]>font resource. *DtEditor*textFontList: &<userFont[1-7]>dtpad resource. *imServerHosts: &<host_list>A comma-separated list of input method server hosts *preeditType: &<method>Methods are OnTheSpot, OverTheSpot, OffTheSpot, and Root. For details, refer to the description of the XmNpreeditType resource in the VendorShell man page. ENVIRONMENTDTSCREENSAVERLISTThis 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. BROADCAST MESSAGESNone. PROPERTIES AND SELECTIONSThe style manager uses X properties to communicate with the session manager and the window manager. DIAGNOSTICS
ERROR MESSAGES
FILES
RESTRICTIONOnly 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. SEE
|