DTSTYLE(1)
π NAME
dtstyle β the CDE Style Manager, bestie. That's the manual name, that's the whole vibe.
β¨ SYNOPSIS
dtstyle
No flags, no args, no extra little friends. Just dtstyle doing her thing. π
π¦ DESCRIPTION
Note: There are no style manager specific options that can be specified in the command line.
Okay so dtstyle provides interactive customization of visual elements and system behavior for the desktop through the style manager. She's literally here to let you tweak the desktop and make it feel like yours.
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. Iconic. π
πΈ Key Supported Tasks
- Colors β Sets the color palette that is used for window colors in the workspace.
- Fonts β Sets the application font sizes as applications are started.
- Backdrop β Sets the backdrops for workspaces.
- Keyboard β Sets the keyboard's key click volume and character repeat capability.
- Mouse β Sets the mouse button click settings, double-click speed, pointer acceleration and pointer movement threshold.
- Beep β Sets the beeper volume, tone, and duration.
- Screen β Sets the screen lock and time-out intervals, chooses the screen saver client(s) to be run at time out and/or screen lock and previews the selected screen saver client(s) to the user.
- Window β Sets the window focus policy, window raise policy and iconification policy (in an icon box or on the desktop).
- Startup β Sets the session startup policy.
π OPTIONS
There are no style manager specific options that can be set from the command line. Like, none. Zero. The command line is not where the customization lives, bestie. β¨
π RESOURCES
π New Resources
imServerHostsβ Class/Type:ImServerHosts/string; Access:G; Default:NULL.
π imserverHosts
A comma-separated list of IM server hosts. That's the whole tea. π«Ά
π«Ά Style Manager specific resources
The style manager used the following resources to control its appearance and behavior.
writeXrdbImmediateβ Class:WriteXrdbImmediate; Type:Boolean; Default:True.
π₯ 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).
mainRC.orientationβ Class:XmNorientation; Type:string; Default:HORIZONTAL.componentListβ Class:ComponentList; Type:string; Default: (See description).secondaryColorSetIdβ Class:SecondaryColorSetId; Type:int; Default:6.toneScale.maximumβ Class:XmCMaximum; Type:int; Default:9000.toneScale.minimumβ Class:XmCMaximum; Type:int; Default:82.durationScale.maximumβ Class:XmCMaximum; Type:int; Default:25.
π mainRC.orientation
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.
π componentList
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.
π§ secondaryColorSetId
Specifies the color to be used for the menubar and all menus and dialogs of the dtstyle application.
β toneScale.maximum
Specifies the maximum value to be used for the tone slider in the Beep dialog.
π toneScale.minimum
Specifies the minimum value to be used for the tone slider in the Beep dialog.
π« durationScale.maximum
Specifies the maximum value to be used for the duration slider in the Beep dialog.
π fileMenu.exit.accelerator
Specifies the accelerator key for the Exit menu option of the style manager main window.
π fileMenu.exit.acceleratorText
Specifies the text for the accelerator key that appears next to the Exit menu option of the style manager main window.
π dtstyle Specific Resources
The following font resources are specified in Dtstyle.
numFontsβ Class:NumFonts; Type:int; Default:6.systemFont1β Class:SystemFont1; Type:FontList; Default: see SF1 below.systemFont2β Class:SystemFont2; Type:FontList; Default: see SF2 below.systemFont3β Class:SystemFont3; Type:FontList; Default: see SF3 below.systemFont4β Class:SystemFont4; Type:FontList; Default: see SF4 below.systemFont5β Class:SystemFont5; Type:FontList; Default: see SF5 below.systemFont6β Class:SystemFont6; Type:FontList; Default: see SF6 below.systemFont7β Class:SystemFont7; Type:FontList; Default: see SF7 below.userFont1β Class:UserFont1; Type:FontList; Default: see UF1 below.userFont2β Class:UserFont2; Type:FontList; Default: see UF2 below.userFont3β Class:UserFont3; Type:FontList; Default: see UF3 below.userFont4β Class:UserFont4; Type:FontList; Default: see UF4 below.userFont5β Class:UserFont5; Type:FontList; Default: see UF5 below.userFont6β Class:UserFont6; Type:FontList; Default: see UF6 below.userFont7β Class:UserFont7; Type:FontList; Default: see UF7.
πΈ numFonts
Specifies the number of System/User Font alias pairs presented in the Font dialog. The default is 7.
Yes, the table says6and this description says7. Both are literally in the original, bestie. I'm not picking a fight with either one. π
π¦ 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 to
The following resources are used by more than one desktop component. The syntax for specifying global resources is: *resource_id.
colorUseβ Class:ColorUse; Type:int; Default:dynamic*.dynamicColorβ Class:DynamicColor; Type:Boolean; Default:true.foregroundColorβ Class:ForegroundColor; Type:int; Default:dynamic*.shadowPixmapsβ Class:ShadowPixmaps; Type:int; Default:dynamic*.writeXrdbColorsβ Class:WriteXrdbColors; Type:Boolean; Default:true.
NOTE: The display type determines default.
π¨ ColorUse
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 colors 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 cells0and1) and icons are displayed as bitonal images. In this configuration four color palettes are available:Black,White,BlackWhiteandWhiteBlack. These palettes do not dynamically change. To change a palette, the session must be restarted. This resource value forcesshadowPixmapstoTrue, andforegroundColorto 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 resourcesshadowPixmapsandforegroundColor.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 resourcesshadowPixmapsandforegroundColor.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 resourcesshadowPixmapsandforegroundColor.
Then the original drops this iconic little list, and I'm keeping it exactly as it appears:
planes2-3468
π dynamicColor
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.
π€ foregroundColor
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.
β¨ shadowPixmaps
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.
β¨ writeXrdbColors β¨
Okay so this resource is the niche one, bestie: only use it if you're running non desktop Motif clients whose color schemes conflict with the desktop colors. It has no impact on clients linked with the desktop Motif library β iconically not their business.
This resource says whether color resource information should be written out. If it's set to False, background and foreground resources are not written out with the values of the current palette. Translation: those above-mentioned clients do not get the desktop colors when they are started. Default is True. Slay.
π¨ Color resources: client specific π¨
These resources are specified on a per client basis. The syntax is client_name_or_class*resource_id.
Table energy, but make it cute:
- Name:
primaryColorSetIdβ Class:PrimaryColorSetIdβ Type:intβ Default:3 - Name:
secondaryColorSetIdβ Class:SecondaryColorSetIdβ Type:intβ Default:4
primaryColorSetId
This one 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. Obsessed.
secondaryColorSetId
This one 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. Periodt.
πͺ Color resources: dtwm specific πͺ
The following are dtwm-specific resources:
- Name:
activeColorSetIdβ Class:ActiveColorSetIdβ Type:intβ Default:1 - Name:
inactiveColorSetIdβ Class:InactiveColorSetIdβ Type:intβ Default:2
activeColorSetId
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.
inactiveColorSetId
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.
ποΈ Resources Saved to xrdb by the Style Manager ποΈ
The following resources are written out to xrdb by the style manager:
*HelpColorUseβ color use mode for help.*ColorUseβ color use mode.*ColorPaletteβ value of current color palette.*MonochromePaletteβ value of the current palette if it is monochrome.*backgroundβ motif resource.*foregroundβ motif resource.Dtwm.keyboardFocusPolicyβ motif resource.Dtwm*focusAutoRaiseβ motif resource.Dtwm*moveOpaqueβ motif resource.Dtwm*useIconBoxβ motif resource.*multiClickTimeβ motif resource.*enableBtn1Transferβ when 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 areOnTheSpot,OverTheSpot,OffTheSpot, andRoot. For details, refer to the description of theXmNpreeditTyperesource in theVendorShellman page.
πΏ ENVIRONMENT πΏ
DTSCREENSAVERLIST
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. π
π’ BROADCAST MESSAGES π’
None. Literally none. Silence, gorgeous.
π§· PROPERTIES AND SELECTIONS π§·
The style manager uses X properties to communicate with the session manager and the window manager.
π©Ί DIAGNOSTICS π©Ί
Heads up, bestie: the page literally shows " 10 glued onto some of these messages, so I'm keeping it exactly as it appears. No editing the artifacts, periodt.
This will replace your home session with the current session. Continue?" 10β Startup dialog - Message appears in a warning dialog when the user pushes Set Home Session...A palette named '%s' already exists. This new palette will overwrite the old one. Is this what you want to do?" 10β Add Palette dialog - Message appears in a warning dialog when an existing palette name is specified.Delete palette '%s'?β Delete Palette dialog - Message appears in a warning dialog when a palette is being deleted.The new double-click time will take effect as applications are restarted. Other mouse values take effect immediately." 10β Mouse dialog - Message appears in a warning dialog after the user selects a new double-click time and presses OK (and the resource*WriteXrdbImmediateisTrue).The new double-click time will take effect at your next session. Other mouse values take effect immediately." 10β Mouse dialog - Message appears in a warning dialog after the user selects a new double-click time and presses OK (and the resource*WriteXrdbImmediateisFalse).The right and left mouse buttons will switch function immediately after you push OK below. Look at the mouse visual in Style Manager Mouse window for indication of current handedness." 10β Mouse dialog - Message appears in a warning dialog after the user selects the left-handed or right-handed toggle to change mouse handedness.The function of the middle button will switch at your next session if you push OK below. Note that when the middle button is set to perform the adjust operation, the transfer operation is integrated with the select button by holding down the select button and dragging." 10β Mouse dialog - Message appears in a warning dialog after the user selects the transfer or adjust toggles to change the function of the middle button.The new Color Use value will take effect at your next session." 10β ColorUse dialog - Message appears in a warning dialog when the color use mode is changed and OK is pushed.The selected palette will take effect at your next session.β Color dialog - Message appears in a warning dialog when the desktop is running in black and White mode and a new palette is selected in the Color dialog.
π¨ ERROR MESSAGES π¨
You must select an item within the Style Manager.β Main window - Message appears in an error dialog when On Item Help is being used and the user clicks on an area outside of the style manager main window area.Couldn't open bitmap directory '%s'.β Backdrop dialog - Message appears in an error dialog when the bitmap directory could not be loaded.There are no backdrop icons available in '%s'. See your System Administrator or the User's Guide for more details." 10β Backdrop dialog - Message appears in an error dialog when the bitmap directory is empty.The palette name cannot contain these characters: :() [ ] { } &< > ! | ' / \fP" 10β Color dialog- Messages appear in an error dialog when the specified palette name is not acceptable.The palette name must be 10 characters or less.β Color dialog- Messages appear in an error dialog when the specified palette name is not acceptable.The color portion of the Style Manager will not operate because the color server is not running. Check $HOME/.dt/errorlog." 10β Color dialog- Messages appear in an error dialog when the color icon is selected and the color server is not running for some reason.The color portion of the Style Manager will not operate because the resource useColorObj is set to False." 10β Color dialog- Messages can be caused to appear in an error dialog by setting the resource*useColorObjtoFalseand then runningdtstyleand trying to post the Color Dialog.The color portion of the Style Manager will not operate because there are no palette files available. Check $HOME/.dt/errorlog." 10β Color dialog- Messages appears in an error dialog when the color icon is selected and there are no palette files to be found.The new XmNpreeditType value will take effect as applications are restarted." 10β Message appears in a warning dialog when the user presses the OK button, and the resource*writeXrdbImmediateisTrue.Your selection will take effect at your next session.β Message appears in a warning dialog when the user presses the OK button after selecting a new Input Method Server, or modifying the IMS Start Mode, or modifying theXmNpreeditTyperesource value and the resource*writeXrdbImmediateisFalse.
π FILES π
- Icon files β Icons used in the style manger.
- App-default file β
Dtstyle- contains application resources for the style manager. - Palette files β Files that contain the default and customized palettes.
- Backdrop file β Files containing the data for backdrop customization.
The actual paths, bestie:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/app-defaults/locale/Dtstyle/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/icons/locale/DtI18N.{_m.bm,pm,bm}/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/lib/nls/msg/locale/dtstyle.cat
π« RESTRICTION π«
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.
Yes, it says dtsyle β the typo is canon, bestie. π
π SEE π
- Dtsession β Acts as a color server and runs the screen saver clients.
- Dtwm β The window manager can be restarted when certain environment customization operations are performed so that changes can take effect.
That's the whole page, bestie π The footer/source line is dtstyle(user cmd) β that's the version/source tag right there, and no separate date is printed on this one, so I'm not inventing one. Periodt. β¨
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms