Files
lotherk 8a0a5ac3f5 MCDE: the IRIX and Solaris Helvetica fonts, the 4Dwm font as the default (t0301)
The Helvetica bitmaps of the reference desktops are in share/fonts: the six
IRIX x_eoe PCFs (helvB10, helvBO10, helvR10, helvR12, helvR14, helvR18) and
the twenty Solaris SUNWxwfnt PCFs (Helvetica 6..14, bold, oblique, bold
oblique); mkfontdir wrote fonts.dir.

Dtwm.defs.src sets the four fontLists of the 4Dwm app-defaults: menus and
client titles -adobe-helvetica-bold-o-normal--14-*, feedback
-adobe-helvetica-bold-r-normal--14-*, icon labels
-adobe-helvetica-medium-r-normal--14-*.

The fonts are core X11 fonts (Motif reads them): dtlogin fontPathTail
(config/Xconfig) puts share/fonts on the X server font path at session
start (ApplyFontPathMods, fontpath.c); 0070.dtfonts keeps the same for a
session that did not come through dtlogin, without a second entry.

Measured: xlsfonts -fn -adobe-helvetica-bold-o-normal--14-* returns the
IRIX 100dpi face; xrmget on the installed Dtwm app-defaults resolves the
four fontLists to the Helvetica names; a session through dtlogin lists
.../share/fonts in xset q Font Path (9 elements); mcde-plist-check ok;
docs/screenshots/desktop/dtwm-4dwm-font.png shows the dtterm title in
Helvetica Bold Oblique.
2026-11-16 15:22:50 +00:00

309 lines
7.6 KiB
Plaintext

!######################################################################
!#
!# Dtwm
!#
!# Application Defaults for the window manager dtwm
!#
!# (c) Copyright 1993, 1994 Hewlett-Packard Company
!# (c) Copyright 1993, 1994 International Business Machines Corp.
!# (c) Copyright 1993, 1994 Sun Microsystems, Inc.
!# (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
!# Novell, Inc.
!#
!# $XConsortium: Dtwm.defs.src /main/8 1996/08/09 14:48:10 mustafa $
!#
!######################################################################
XCOMM include "Dt"
!###
!# Ensure that we will have a front panel.
!# Default is False.
!###
Dtwm*useFrontPanel: True
!###
!#
!# Specify the icon images (graphics) for several clients
!#
!###
Dtwm*Dtmail*iconImage: DtMail
Dtwm*Dtterm*iconImage: Fpterm
!# XTerm icon setting commented out - icon does not exist.
!# Dtwm*XTerm*iconImage: Dtxterm.l
Dtwm*Dtstyle*iconImage: Fpstyle
Dtwm*Dthelpview*iconImage: Fphelp
Dtwm*Dticon*iconImage: Dtpaint
Dtwm*Dtksh*iconImage: Dtdtksh.m
Dtwm*Dtcalc*iconImage: Dtcalc
Dtwm*Dtaction*iconImage: Dtactn
Dtwm*Dtpad*iconImage: Fppenpd
Dtwm*Dtbuilder*iconImage: DtBldr
Dtwm*Dtqinfo*iconImage: Fpprnt
Dtwm*Printer*iconImage: Fpprnt
Dtwm*FrontPanel*iconImage: Fpfpmin
Dtwm*Dtinfo*iconImage: Dtinfo
!###
!#
!# Specify the window stacking behavior for dialogs
!#
!# A value of True insures that dialogues are always stacked above
!# their associated primary windows.
!#
!# A value of False allows primary windows to be restacked above
!# dialogues.
!#
!# This is a per-application resource, so it can be qualified by
!# appliation.
!#
!# Example:
!# Dtwm*imagetool*secondariesOnTop: False
!#
!# Default is: True
!###
!# Dtwm*secondariesOnTop: True
!###
!#
!# Specify the amount and type of client decoration.
!#
!# Default is: all
!###
!#
!# for front panels
!#
!# Dtwm*FrontPanel*clientDecoration: border
!#
!# for subpanels
!#
!# Dtwm*subpanelDecoration: title
!###
!#
!# Specify client-specific window menus
!#
!###
Dtwm*Sna3179g*windowMenu: NoAcceleratorWindowMenu
Dtwm*sOftPC*windowMenu: NoAcceleratorWindowMenu
Dtwm*FrontPanel*windowMenu: DtPanelMenu
!###
!#
!# Specify client-specific dialog stacking behavior
!#
!###
Dtwm*Dtcm*secondariesOnTop: False
Dtwm*Dtmail*secondariesOnTop: False
Dtwm*Dtbuilder*secondariesOnTop: False
!###
!#
!# Specify the number of workspaces
!#
!# Specify multiple workspaces on screen 0, a single
!# workspace on any other screen.
!#
!# Default is: 1
!###
Dtwm*0*workspaceCount: 4
Dtwm*workspaceCount: 1
!###
!#
!# Specify the user-visible titles of workspaces
!#
!# Default is: <workspace name>
!#
!# NOTE: workspace widget names are generated automatically
!###
Dtwm*ws0*title: %|nls-2-#One#|
Dtwm*ws1*title: %|nls-3-#Two#|
Dtwm*ws2*title: %|nls-4-#Three#|
Dtwm*ws3*title: %|nls-5-#Four#|
!###
!#
!# Specify the backdrops of the workspaces, using default workspace
!# names
!#
!# This resource specification applies to all workspaces. When
!# you make a change through the Style Manager, a more specific
!# resource is saved that overrides this one.
!#
!# Defaults are no image at all (the normal root background).
!###
Dtwm*backdrop*image: %|nls-11-#KnitLight#|
Dtwm*ws0*backdrop*image: %|nls-12-#KnitLight#|
Dtwm*ws1*backdrop*image: %|nls-13-#WaterDrops#|
Dtwm*ws2*backdrop*image: %|nls-14-#RicePaper#|
Dtwm*ws3*backdrop*image: %|nls-15-#Pebbles#|
!####
!#
!# Specify which color set defaults.
!#
!# Defaults
!#
!# primaryColorSetId 8 for primary boxes, subpanels.
!# secondaryColorSetId 8 for secondary boxes, and dtwm dialogs.
!#
!####
!#
!#Dtwm*primaryColorSetId: 8
!#Dtwm*secondaryColorSetId: 8
!####
!#
!# Special settings for help dialogs from dtwm.
!#
!# Defaults
!#
!# Black text on white background.
!# Size of version dialog
!#
!####
!#
Dtwm*XmDialogShell*DisplayArea.background: White
Dtwm*XmDialogShell*DisplayArea.foreground: Black
Dtwm*VersionDialog_popup*rows: 20
Dtwm*VersionDialog_popup*columns: %|nls-6-40^columns|
!####
!#
!# Specify the file name to use to check the mail indicator
!#
!# Default is $HOME/.mail/INBOX.
!#
!####
Dtwm*Mail*fileName: $HOME/.mail/INBOX
!####
!#
!# Specify the default fonts to use in the front panel. This is
!# done for each of the different display resolutions.
!#
!# Default is "fixed" for all resolutions.
!#
!####
#ifdef _AIX
Dtwm*FrontPanel*highResFontList: \
%|nls-7-#highResFontList#|
Dtwm*FrontPanel*mediumResFontList: \
%|nls-8-#mediumResFontList#|
Dtwm*FrontPanel*lowResFontList: \
%|nls-9-#lowResFontList#|
#else
Dtwm*FrontPanel*highResFontList: \
%|nls-17-#highResFontList#|
Dtwm*FrontPanel*mediumResFontList: \
%|nls-18-#mediumResFontList#|
Dtwm*FrontPanel*lowResFontList: \
%|nls-19-#lowResFontList#|
#endif
!###
!#
!# Use a slightly smaller font for the icon text
!# Default is "fixed".
!#
!###
Dtwm*icon*fontList: \
%|nls-20-#icon*fontList#|
!####
!#
!# Specify the double-click time interval
!# (This makes it the same as the default for Mwm 1.0).
!#
!# Default is 200 milliseconds
!#
!####
*multiClickTime: 500
!####
!#
!# Specify the placement of icons on the root window in the top left
!# corner of the screen.
!#
!####
!# MCDE: the 4Dwm icon look (Konrad, 2026-11-15): the label under the picture
!# on the icon, a small picture box, and the icons stacked at the left edge
!# from the top instead of a row along the top.
Dtwm*iconDecoration: label image
!####
!#
!# MCDE: the 4Dwm look of IRIX -- the title at the left of the bar and the
!# 7 pixel frame of the reference (4DWm app-defaults: SG_titleLeft,
!# frameBorderWidth 7)
!#
!####
Dtwm*titleLeft: True
Dtwm*frameBorderWidth: 7
Dtwm*iconImageMaximum: 85x67
!# the first token is the primary direction: top -> a column, filled downward
!# (left top would fill a row: WmCvtStringToIPlace); tight = 2 pixel margins
Dtwm*iconPlacement: top left tight
!####
!#
!# Specify characteristics of the icon box, if one is used.
!#
!####
Dtwm*iconBoxGeometry: 1x4+16+20
!# MCDE: vertical, so iconPlacement "left top" is not overridden and the icons
!# stack at the left edge from the top (4Dwm look, Konrad 2026-11-15)
Dtwm*iconBoxSBDisplayPolicy: vertical
!####
!#
!# Specify the title for instant title dialog.
!#
!####
Dtwm*instantTitleDialogShell.title: %|nls-21-#Rename#|
!####
!#
!# Specify the mouse button bindings, and the keyboard key bindings.
!#
!####
Dtwm*buttonBindings: DtButtonBindings
Dtwm*keyBindings: DtKeyBindings
!# Resource for internal dtwm use:
Dtwm*useAsyncGeometry: True
!####
!#
!# MCDE: the fonts of the reference (4DWm app-defaults): Helvetica 14,
!# bold oblique for the menus and the titles, medium for the icons. The
!# IRIX and Solaris Helvetica bitmaps are in share/fonts; dtlogin's
!# fontPathTail (config/Xconfig) and 0070.dtfonts put them on the X font
!# path.
!#
!####
Dtwm*menu*fontList: -adobe-helvetica-bold-o-normal--14-*
Dtwm*client*fontList: -adobe-helvetica-bold-o-normal--14-*
Dtwm*feedback*fontList: -adobe-helvetica-bold-r-normal--14-*
Dtwm*icon*fontList: -adobe-helvetica-medium-r-normal--14-*
!############### Other Popular Dtwm Resource Settings ##########
!##### See also the Style Manager - Window Manager Dialogue ########
!# Dtwm*fadeNormalIcon: True
!# Dtwm*iconClick: False
!# Dtwm*interactivePlacement: True
!#################### End of the Dtwm app-defaults File ###########