The screenshots of this directory follow the rule of 2026-11-16: the whole
desktop (bar, front panel, icons) and a palette per picture. The pictures
from before that rule do not show the session and are removed; the four
pictures still there are the new set (dtwm-4dwm-font, the two pointer panes,
the desktop menu). The files stay in the history if a state is needed
again.
tools/mcde-shot.sh learns MCDE_SHOT_PALETTE (a palette from dt/palettes:
its first colour is the background, the text is black) and MCDE_SHOT_FULL
(dtsession starts the whole desktop). A holder client keeps the X server
from resetting the resource database and the font path when xrdb and xset
exit; the palette and share/fonts are in place before the first client
starts, so dtwm, the bar and the program take them.
The four desktop pictures are taken again with the bar (clock, sound,
bluetooth, global menu, M menu), the front panel and the desktop icons,
each in another palette: dtwm-4dwm-font.png IRIX, pointer-irix-xcursor.png
Charcoal, pointer-solaris-cursors.png Desert, desktop-root-menu.png
Default.
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.
The IRIX cursor font x_eoe usr/lib/X11/fonts/misc/cursor.pcf is extracted
with the sw parser, pcf2bdf turns it into BDF, and bdf-cursors.py makes
58 Xcursor names from the glyphs (form + _mask). The Solaris and IRIX
themes are in share/icons/Solaris and share/icons/IRIX; the Appearance
pane has a "Cursor theme:" menu (Solaris, IRIX) that keeps the choice in
~/.dt/cursor-theme; 0079.dtcursor exports XCURSOR_THEME from it.
Measured: XcursorLibraryLoadImage("left_ptr", "IRIX", 16) returns a
16x16 image, and the menu shows Solaris/IRIX; choosing Solaris wrote
~/.dt/cursor-theme.
programs/cursors holds the 27 .cursor files of Solaris 2.6; programs/dtcursor
reads the X11 cursor text format (Format_version=1, Width, Height,
Valid_bits_per_item=16, one or two bitmaps) into source and mask bitmaps,
makes the cursor with XCreatePixmapCursor and puts it on the root window
(XDefineCursor; the clients that set none inherit it). The name is kept
in ~/.dt/cursor; 0079.dtcursor sets it at login. The Appearance pane has
a "Pointer:" menu of the cursor names; a choice runs dtcursor -set NAME.
Measured under Xvfb: the menu lists black, bullseye, busy, ... gr_root;
choosing busy wrote ~/.dt/cursor and printed "dtcursor: busy".
A .url file is a WEB_URL now (the reference sdturl.dt): a text file
whose content is a URL, ACTIONS McdeWeb,Print, ICON Dtdata,
NAME_TEMPLATE %s.url, MIME text/x-url. Measured in dtfile: test.url
shows the URL icon beside note.txt (screenshot).
test_sysload: the child that waits for a signal sets alarm(60), so a
hung or killed test no longer leaves it in pause() and blocks the
build lock with waitpid.
The chestrc now carries the reference structure: Desktop (Access Files,
Open Home Folder, Shared Resources, Customize, Control Audio, Empty
Dumpster, Open Unix Shell, Start ScreenSaver, Lock Screen, Log Out),
Shared (Network Places, Connect to Server), Internet (Open Web Browser),
Find (Search For Files, File QuickFind, Host QuickFind, Info Search) and
System (Processes, Filesystems, Disk Utility, Printers, Software Update,
Date & Time, System Settings, Backup, Restart, Shut Down). Measured
under Xvfb: the chest lists Desktop/Selected/Find/System/Help and the
Desktop menu shows the reference entries (screenshot).
dtsystemsettings has a Workspace menu on the Desktop page: This
Workspace (the active one) or one of the named workspaces, read from
DtWsmGetWorkspaceList. A chosen backdrop goes to that workspace: dtwm
learned f.change_backdrop_ws INDEX PATH PIXMAP STYLE (the same parse as
f.change_backdrop, with the workspace index first) and
McdeBackdropFromFile on pSD->pWS[INDEX]; SetNewBackdrop keeps the choice
with SaveWorkspaceResources, so dtsession carries it to the next login
and ChangeToWorkspace shows it. Measured under Xvfb: the menu lists
This Workspace, One, Two, Three, Four; Two + Ankh.bm printed
'dtwm: backdrop ws=1 .../backdrops/Ankh.bm style=0'. WmMain.c now
includes WmFunction.h (the MCDE prototypes were implicit).
The pane lists the 49 installed backdrops (including the 20 imported
from Solaris 2.6) as small previews; a click makes one the backdrop,
the style menu fills/fits/centres/tiles it, and Change picture starts
the slideshow.
The desktop carries a Trash icon (Dtbin.m.pm when ~/.dt/Trash is empty,
Dtbinml.m.pm when it holds something); a double click opens the trash in
dtfile, the icon menu has Empty Trash. The icon is an XDND drop target:
a file dragged onto it is moved into ~/.dt/Trash (renamed, or copied and
removed across file systems). tools/mcde-xdnd-drop.c is the test
source: it sends XdndEnter/Position/Drop with text/uri-list and answers
the SelectionRequest. Measured under Xvfb: the empty and the full
glyph, Empty Trash emptied the folder, and the drop of
file:///tmp/xdnd-test.txt printed status accept=1, selection request,
finished and left the file in the trash. Screenshots:
desktop-trash-empty.png, desktop-trash-full.png.
A right click on the background (not on an icon) opens the desktop's own
menu: New Folder (in ~/Desktop, numbered when it exists), Clean Up Icons
(the icons the person never dragged go back to the grid; a dragged one
keeps its place, moved=1 in ~/.dt/desktop.conf), Change Backdrop...
(dtsystemsettings -pane screensaver) and Show Desktop Icons ([x] in the
menu, show=0/1 in the file). The menu is the same override-redirect
window the icon menu uses, with its own entry table. Measured under
Xvfb: New Folder made ~/Desktop/New Folder and its icon appeared; a
dragged DATA stayed at 668,358 while the others returned to the grid;
Show Desktop Icons wrote show=0 and unmatched every icon, a restart with
show=0 shows no icons. Screenshots: desktop-root-menu.png,
desktop-cleanup.png.
Screenshots from the Makronix-0.99.10 amd64 VM: the computer icon alone,
and with MCDE_DESK_TEST_MOUNTS the CD, the stick and the NFS mount, in
the top right corner from the top down. test_mounts on the same VM
printed PASS: mcde_sys_mounts on NetBSD.