- dtsystemsettings/panes.c: the icon of every pane is unique again (Backup
showed the same DtSystem.m.pm as System Information, Default Programs the
same Dtmail.t.pm as Internet Accounts) and the dock entry is indented like
its neighbours.
- startupdisk.c is no longer built: the pane was removed, the file stayed in
the SUBDIRS list.
- dttoolbox.msg: message 2 says "No dttoolchest menu", like message 1 says
"dttoolchest".
- dock.c stores the program's class as the command names it (lower case, as
WM_CLASS's instance name is), not with an invented capital. dtwm compares
classes with strcasecmp (WmMcdePanel.c:144, 233), so matching works either
way; the icon lookup by file name is what a made-up case could spoil.
The Dock entry is back, and it is a pane of its own: it lists the programs
kept in the front panel (the CLASS and COMMAND lines of ~/.dt/panel-apps),
removes the chosen one, adds one from a command, writes the file at once and
restarts the window manager (_DtWmRestartNoConfirm) so the panel is built
again. The icon is Dtapps.m.pm -- the entry was PANE_LATER with
DtPanel.m.pm, which does not exist, so it was greyed out and had no picture.
- dtsystemsettings: the shell is 1022x550 and stays so (min/max equal); every
pane lives in it instead of growing the window (thirteen per-pane
XtVaSetValues(shell, width, height) calls are gone), and a taller pane
scrolls (the pages sit in an XmScrolledWindow with XmAUTOMATIC).
- panes.c: CDs & DVDs had no icon (Dtmedia.m.pm does not exist) - it shows
IrixCD.m.pm; Energy Saver shows SDtpowermgr.m.pm; Accounts had the same icon
as Startup (DtStart.pm) and shows McdeUser.t.pm. The "Startup Disk" entry
and the disabled "Dock" entry (no icon, PANE_LATER) are removed.
- McdePrefs: the tab strip is one of many (XmNradioBehavior,
XmNradioAlwaysOne). Without it every visited tab stayed pressed
(measured 2026-11-21: Keyboard, Mouse and Shortcuts all down at once).
- dttoolbox: the window title is "dttoolchest" (msg 1 of the catalog).
- McdeSys: mcde_sys_keyboard_is_mac asks the machine (hw.model "Mac...")
before usbdevs. At session start the internal keyboard may not be
enumerated yet, so dtkeys took a MacBook for a PC keyboard and exchanged
Alt and Command (_MCDE_KEYS said "pc", measured 2026-11-21).
New programs/dtsystemsettings/parental.c: the accounts on the left and, for
the chosen one, three pages. Programs: "All programs" or "Only the
applications selected below" with a list of the desktop's programs. Time
Limits: weekday and weekend hours ("09:00-19:00" or "any"). Log: the
programs that were started, from ~/.dt/parental.log. The values are kept in
~/.dt/parental.conf under the login's name ("lotherk.allow=dtpad,dtfile"),
English keys, the file the launcher reads.
The enforcement is in dtlaunch, the place where a program is started: the
list shows only the allowed names, a disallowed program or a start outside
the hours is refused with a sentence in the window ("Outside the allowed
hours (Parental Controls)."), and every allowed start is appended to
~/.dt/parental.log. A refusal keeps the launcher open.
Measured under Xvfb with xdotool:
- with "lotherk.only=1, allow=dtpad" the launcher offers dtpad only;
- with hours 03:00-03:01 (now 13:4x) Return on dtpad is refused, the
window stays and says why, and ~/.dt/parental.log stays absent;
- with "any" the same Return starts dtpad and the log gets
"2026-11-14 13:44 dtpad";
- the pane shows the accounts, the three pages and the applied file
(docs/screenshots/leopard/System-Preferences-Parental-Controls-mcde.png,
...-Time-Limits-mcde.png);
- make programs/dtsystemsettings, programs/dtlaunch exit=0.
Not done (follow-up): system-wide enforcement -- taking the execute
permission away from programs outside the list needs root, ending a session
when the hours are over belongs to dtsession, and a child's own file needs
the administrator. A toggle or radio set before its page is laid out keeps
its first painted state in this pane (measured); the file is right.
New programs/dtsystemsettings/printers.c replaces the "printers" entry that
only started dtprintinfo:
* the left list is the queues of CUPS (McdeSys mcde_sys_printers: lpstat
-p and -d, parsed; the default is marked with a star and named in the
status line), the right side is what is chosen -- state, location,
model, whether it is the default and whether it is shared;
* "Add Printer..." lists the printers mDNS finds (_ipp._tcp through
avahi-browse -rtp, names unescaped: avahi writes \032 for a space in
decimal), fills the queue name from the chosen one and shows its URI;
* "Add", "Remove Printer..." and "Set as Default..." run in the terminal
of su(1) (dtsystemsettings -add-printer NAME URI | -remove-printer |
-set-default-printer), the pattern of the other root actions; adding
uses the driverless model (lpadmin -p NAME -E -v URI -m everywhere);
* "Print Queue..." opens dtprintinfo -all, CDE's queue view.
McdeSys gained mcde_sys_printers, _printer_add, _printer_remove,
_printer_default and _printers_discovered (lib/McdeSys/printers.c, built for
every backend). Names and URIs are checked before they reach an argument
list (letters, digits, - and _; ipp://, ipps://, socket://, usb:// without
spaces or shell punctuation); the mDNS output is only parsed.
The task asked for libcups rather than command lines; measured 2026-11-14 on
the build host, cupsGetDests2() returns 0x2 and leaves num_dests untouched --
through dlopen and linked directly -- while _cupsGetDests() finds no queue
and lpstat -p lists the two the desktop has. The library path is a
follow-up, and AGENTS.md carries the measurement.
Measured under Xvfb with xdotool, against the host's CUPS:
- the pane lists HP_LaserJet_M110w_CC1016 (idle) and Samsung_CLP-365
(disabled, its reason shown), the default star on Samsung and "Default
printer: Samsung_CLP-365" below -- the same two and the same default that
lpstat -p / lpstat -d print; the detail side shows the chosen queue
(docs/screenshots/leopard/System-Preferences-Print-and-Fax-mcde.png);
- "Add Printer..." finds "HP LaserJet M110w (CC1016)" over mDNS, choosing
it fills the name HP_LaserJet_M110w_CC1016 and the URI
ipp://192.168.1.147:631/ipp/print
(docs/screenshots/leopard/System-Preferences-Print-and-Fax-Add-Printer-
mcde.png);
- "dtsystemsettings -set-default-printer Samsung_CLP-365" as the user
answers "The default printer was not changed: The default printer needs
the administrator." -- the root step runs in the su terminal;
- test_sysinfo prints both queues and the discovered printer;
- make lib/McdeSys, programs/dtsystemsettings exit=0; check lib/McdeSys:
test_sysinfo and test_netmount PASS.
Open (follow-up): printing a test page, the fax/Bluetooth/AppleTalk printers
of the reference, the NetBSD CUPS path, and adding a queue verified in a VM
with an IPP printer.
New programs/dtsystemsettings/security.c with the reference's three tabs:
General "Require password to wake this computer from sleep or screen
saver" writes dtsession's lock time (_DtSetSmState with
SM_STATE_LOCKTIMEOUT; the Screen Saver page reads and writes the
same field, so the two pages show one setting). On: the lock at
the saver's time, or ten minutes without a saver. "Use secure
virtual memory" is NetBSD's vm.swap_encrypt through McdeSys
(now and in /etc/sysctl.conf, root). Automatic login and a
log-out after N minutes are shown as what the desktop has:
dtlogin always asks for a name and a password, and dtsession
has no idle logout -- the pane says so and greys the controls.
Encryption the cgd(4) volumes of /etc/cgd/cgd.conf, and the sentence that
encrypting a disk is a decision of the installation, not of a
running system; changing a passphrase is a follow-up.
Firewall the npf(7) state (rc.conf npf=YES, /etc/npf.conf); the rules
are a follow-up -- a fixed template with the shares of the
Sharing page, never free text.
McdeSys gained the security state: mcde_sys_swap_encrypt_get/_set,
mcde_sys_cgd_volumes, mcde_sys_firewall_get. netbsd.c implements them
(sysctl(8) vm.swap_encrypt, /etc/sysctl.conf through a KeySet() that rc.conf
now uses too, /etc/cgd/cgd.conf, rc.conf's npf), linux.c answers
MCDE_SYS_ENOTSUP with a sentence saying whose feature it is.
test_sysinfo prints all three.
The pane's icon is new: programs/icons/McdeLock.pm (a padlock, palette
colours); "security" is a real pane now, not a greyed entry.
Measured under Xvfb with xdotool (dtsession started in the session):
- the lock checkbox: _DT_SM_STATE_INFO on dtsession's window before the
click 0xfff, ... lockTimeout 0x0; after it 0x100 (SM_STATE_LOCKTIMEOUT),
lockTimeout 0x258 (600 s); a second click puts it back to 0x0;
- the three tabs and their content (docs/screenshots/leopard/
System-Preferences-Security-mcde.png with the lock on, ...-Encryption-
mcde.png, ...-Firewall-mcde.png);
- test_sysinfo on this (Linux) host prints the three MCDE_SYS_ENOTSUP
sentences -- the pane shows them instead of dead controls;
- make check programs/dtsystemsettings: test_panes PASS; the Sound and
Keyboard & Mouse panes still switch their tabs after the layout fix
below;
- make programs/dtsystemsettings, lib/McdeSys exit=0.
A Motif lesson, saved in AGENTS.md: a row column inside the pane area takes
the other orientation unless told, a child added later to a tight-packed
column goes into the next column, and a page managed for the first time after
its widgets were built keeps a height of one line. The pane therefore builds
its page fresh inside an XmPACK_COLUMN container on a tab change; the same
XmNorientation, XmVERTICAL went into the Sound and Keyboard & Mouse page
containers.
Not measured, because this host is not NetBSD or has no root: swapping
vm.swap_encrypt, reading cgd volumes, the npf state and writing npf rules.
They are the follow-up task for the VM.
LICENSE at the root; the 103 files new in ext/src/mcde (none was in the CDE
import) carry the CNCL line instead of the LGPL notice.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Desktop and Screen Saver are one pane with the two tabs of the reference;
-pane screensaver still opens the saver's page (PaneFind gives the old id to
the pane). The saver page has the list in two groups ("Screen Savers" and
"Pictures"), a running preview, Options..., Test, the start time in the
reference's seven steps (3/5/15/30 minutes, 1 and 2 hours, Never), the
password box and the notes for the corners and the energy pane.
* "Use random screen saver" selects StartDtscreenRandom, a new action
(programs/types/dtscreen.dt.src: dtscreen -mode random) that dtscreen
resolves into one of its modes each time it starts.
* Test starts the chosen saver fullscreen in an override-redirect window
and stops it after eight seconds -- dtscreen has no input loop, and a
session's saver is stopped by dtsession's lock, which a settings program
does not have.
* Options... writes dtscreen.<mode>.batchcount and dtscreen.<mode>.delay
into the server's resources (where dtscreen reads them, resource.c) and
records them in ~/.dt/screensaver; the preview restarts with them.
* The start-time scale writes dtsession's saver timeout, as before.
Pictures are listed but not offered: dtscreen's image mode has no picture
folder source of its own, so a folder entry would write a setting nobody
reads. "Show with clock" and the hot corners wait for a clock mode in
dtscreen and for the Expose & Spaces pane; the energy warning waits for the
Energy Saver pane (there is no DPMS time to compare with yet). Those three
are named in the pane itself.
tools/mcde-shot.sh: DTDATABASESEARCHPATH is comma-separated now -- that is
the separator DtEnvMap uses for it; with colons DtDb stays half-loaded and
actions are not found (the preview said "Action StartDtscreenSwarm was not
found"; with commas the savers run). The data types come with it: a dtfile
window in the test home shows the PNG and text icons instead of "??" (the
t0194 symptom). The script also exports DTSCREENSAVERLIST as dtsession does,
through a Session() function because the list has spaces.
Measured under Xvfb with xdotool:
- the page shows the two groups, Swarm chosen and running in the preview
(docs/screenshots/leopard/System-Preferences-Desktop-and-Screen-Saver-
mcde.png);
- Test covers the screen with the saver (...-Test-mcde.png) and the pane is
back eight seconds later;
- Random replaces the preview's process: "dtscreen -mode swarm" became
"dtscreen -mode random" (pgrep), and dtscreen itself reports "random
mode chose image" when run with -mode random;
- Options... with the delay moved writes "dtscreen.swarm.batchcount: 100"
and "dtscreen.swarm.delay: 530000" into RESOURCE_MANAGER and
"mode=swarm" / "batchcount=100" / "delay=530" into ~/.dt/screensaver;
- make check: test_panes PASS (new alias checks).
The two panes Keyboard and Mouse are one pane with the reference's tabs --
Keyboard | Mouse | Shortcuts; -pane keyboard, -pane mouse (and -pane
shortcuts) still work and open that tab (PaneFind maps the old ids onto the
pane and ShowPane passes the id).
Keyboard: repeat, its delay and rate, key click, the kind of keyboard (auto,
PC, Mac), the try-it field, and "Modifier Keys...": a dialog with four menus
(Caps Lock, Control, Option, Command -> one of the four functions or No
Action). The dialog writes the same ~/.dt/keyboard dtkeys reads and runs
"dtkeys auto" at once.
dtkeys gained the modifier functions: the four physical keys come out of
Lock/Control/Mod1/Mod4 and into the modifier their function asks for
(XChangeKeyboardMapping + XSetModifierMapping, Xlib only, no setxkbmap), and
it runs at login as before (Xsession.d/0072.dtkeys). It also reads the file
without dropping its lines when the kind changes.
Mouse: as before plus the wheel's direction (buttons 4 and 5 change places,
natural scrolling; the map goes to dtsession with the rest). How far one
turn scrolls is the program's own step -- said in the pane.
Shortcuts: the keys of the desktop in a list (name, key, where it lives,
from ~/.dt/shortcuts; Launcher=... is written). The launcher's key is live:
type a chord, Change writes Dtlaunch*hotkey and ~/.dt/shortcuts, then
"dtlaunch -quit" (new: asks the running launcher to let go of its key and
waits until the selection has no owner) and a fresh dtlaunch grabs the new
key. Restore Defaults puts Cmd+space back. The other rows are a record:
their keys are dtwm's and the app-defaults', and the pane says so.
"Full keyboard access" (the reference's text boxes / all controls) is left
out: Motif's focus traversal with Tab is always there and there is no switch
to turn it into two levels.
Measured under Xvfb with xdotool:
- Modifier Keys: Caps Lock -> Control, Apply -> ~/.dt/keyboard says
"capslock: control"; the key map then has keycode 66 = Control_L, Lock
empty, Control 37/66/105 (read with an Xlib program; the pane keeps the
display alive, so Xvfb does not reset the map when dtkeys exits).
- Shortcuts: Launcher + "Cmd+j" + Change -> RESOURCE_MANAGER has
Dtlaunch*hotkey: Cmd+j, ~/.dt/shortcuts has Launcher=Cmd+j, the running
launcher is replaced and Cmd+j opens it (docs/screenshots/leopard/
System-Preferences-Keyboard-and-Mouse-Shortcuts-mcde.png shows the list
and the note; the picture with the open launcher after Cmd+j is the same
run).
- Wheel: "Scrolls down when turned towards you" -> xmodmap -pp: physical
4 -> code 5, 5 -> 4.
- -pane mouse opens the Mouse tab.
- make check: test_panes PASS (new alias checks).
Pictures: System-Preferences-Keyboard-and-Mouse-mcde.png (Keyboard),
...-Mouse-mcde.png, ...-Shortcuts-mcde.png.
Open: only the launcher's key is changeable at runtime; the others are a
record (dtwm and app-defaults own them); the scroll step and Full keyboard
access are left out with the reason above; the modifier dialog keeps its
size after the first open.
The pane is the reference's form now: Appearance (a menu of the palettes with
the chosen palette's eight colours as a strip under it, then "In use:"),
Highlight Color (the eight colours of the active palette, written as
*highlightColor and *selectColor for programs started later), the scroll
bars, the number of recent items, font smoothing -- and the fonts, which
lose their own pane (the "fonts" id still opens Appearance, the entry is
gone from the overview).
What the pane writes is what the session reads:
*<screen>*ColorPalette, *highlightColor, *selectColor _DtAddToResource
Dtwm*mcdeTitleBarDoubleClick: none|minimize then dtwm restarts
~/.dt/recent.conf: applications=N, documents=N, servers=N
~/.config/fontconfig/conf.d/60-mcde-antialias.conf antialias=false
dtwm gained the title-bar double click: a new resource (WmResNames.h,
WmGlobal.h, WmResource.c, default "none") and, in CheckButtonPressBuiltin
(WmCEvent.c), the double-click branch on the title -- F_Minimize or
F_Maximize instead of the move. dtbar's Recent Items and Connect to
Server's history now read their counts from ~/.dt/recent.conf
(ItemsPush/FillRecent, ReadLines/RecentAdd).
Two things the task itself said to drop are dropped, with the reason in the
pane: Motif has no separate arrow buttons at both ends of a scroll bar and no
smooth scrolling (an animation), and a click in a Motif scroll bar pages
while the middle button jumps to the place.
Font smoothing is a fontconfig rule, not *Xft.antialias: measured here, Xft
ignores that X resource (205 grey levels with and without it), while a
<match target="font"> antialias=false rule gives 2. The rule reaches GTK and
Qt as well (one look).
Measured under Xvfb with xdotool:
- "Off" + Apply -> the file is written and an Xft render test in the same
session drops from 205 distinct grey levels to 2; with the size limit 20
the same test (size 12) gives 2, with 4 it gives 205 -- the rule holds
only up to the size.
- the title-bar box + Apply writes Dtwm*mcdeTitleBarDoubleClick: minimize,
dtwm restarts, and a double click on dtpad's title bar leaves its window
"Map State: IsUnMapped" (IsViewable before).
- a palette choice writes *0*ColorPalette: Camouflage.dp (and dtthemesync's
colours), the strip and the Highlight menu follow it.
- Documents=5 with eight entries in ~/.dt/recent shows five in the bar's
Recent Items; Servers=0 leaves the Connect to Server field at "sftp://",
Servers=10 prefills the stored address.
Pictures: docs/screenshots/leopard/System-Preferences-Appearance-mcde.png
(the four groups) and ...-Appearance-fonts-mcde.png (scrolled to the fonts).
make check: test_panes PASS.
Open: a highlight colour reaches programs started later, not the running
ones; "Applications" has no recent list to feed; the dtwm value takes effect
when the window manager restarts (the Apply button does it); the antialias
rule is read at program start; and the fonts list is six rows inside the
scrolled pane.
The overview has the reference's toolbar now: Back and Forward for the
panes shown (a history of 16 ids, the overview itself a place in it), Show
All, and a search field on the right. Typing keeps the panes that match --
id, label or keywords, without case -- and frames them (two pixels, etched
out), the others and their names go grey; an empty field shows all again.
The panes are the four bands in the order of GOAL.md, with the ones the
reference has and MCDE names but does not draw yet (Dock, Security, CDs &
DVDs, Energy Saver, Startup Disk, Accessibility) greyed as PANE_LATER, and
Bluetooth under Hardware, where the reference has it. Every pane has
keywords for the search ("wlan", "uhr", "drucker", "freigaben", ...).
test_panes.c: the categories run in the order Personal, Hardware, Internet
& Network, System; the six PANE_LATER panes exist and match their own names;
the search finds what it should -- "wlan" the network, "UHR" the date and
time, "bluetooth" one pane, "xyzzy" none, "" every pane.
Measured under Xvfb: docs/screenshots/leopard/System-Preferences-0-mcde.png
(the four bands, the toolbar) and System-Preferences-0-search-mcde.png
("wlan": Network framed, all else grey); Sound -> Show All -> Back returns
to Sound (the toolbar's title follows); make check: test_panes PASS.
Open: the reference's footer with the lock and the "?" is not there yet
(each pane keeps its own Unlock...), the search has no result list under
the field, and a PANE_LATER without an icon file shows no picture.
language.c lists the UTF-8 locales of locale -a; 'Use for Next Login' writes
~/.dt/language, which Xsession.d/0010.language reads before the desktop starts.
Compiled and linked with make mcde-host (build/logs/mcde-host-2026-11-13c.log);
not yet run on a display.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The monitors as rectangles to drag, docked to each other; per monitor on
or off, resolution, rotation, main display (top bar and front panel);
mirroring. RandR 1.3, set as xrandr(1) does. Apply asks to keep the
settings and goes back by itself after 15 seconds. MCDE remembers the
monitor (EDID id), not the socket, also while it is unplugged:
~/.dt/displays, applied at login by Xsession.d/0071.displays.
Tested: make check (test_displays, 31 cases); Xorg with the dummy
driver: -apply-displays, an unknown mode and all-off refused; in the
pane 1024x768 applied and back after 16 s, kept with Keep and written.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pane for the backup: Back Up Automatically, every hour; the backup
disk with Choose Disk... -- the partitions that do not hold the system,
and a password, twice, whose fields show stars, that encrypts the
backups (a reminder to keep it safe follows); when the last backup ran
and how it ended; Back Up Now, which runs dtbackup in a terminal where it
shows what it does; Restore..., the backups newest last and a path to
bring back into ~/Restored; how many hourly, daily and weekly backups
are kept, every monthly one or not, and the free space in percent below
which the oldest go. As a user it shows and offers Unlock....
Measured on Xvfb as a user (build/mcde-shots/desk-0.png): no disk, no
backup yet, the defaults 24/30/52, every monthly, 10 %, all greyed but
Back Up Now and Unlock.... Not measured: setting up, running and
restoring (borg comes into the set with the next userland).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
McdeSys gets the services that let others in (mcde_sys_service_state,
mcde_sys_service_set) and one list of shared folders for SMB, NFS and AFP
(mcde_sys_shares, mcde_sys_shares_set: /etc/mcde-shares, and a block
between "# MCDE shares begin" and "... end" in exports, smb.conf and
afp.conf; the rest of each file stays as written). NetBSD switches
rc.conf and runs the rc.d scripts -- sshd; rpcbind, mountd, nfsd and
nfslocking for NFS; samba, netatalk, atalkd and papd from pkgsrc, whose
example rc.d scripts are copied to /etc/rc.d first, as PKG_RCD_SCRIPTS=YES
would. Linux uses systemctl (ssh, smbd and nmbd, nfs-server, netatalk;
no AppleTalk). NetBSD's kernel has AppleTalk (GENERIC: options NETATALK)
and pkgsrc's netatalk4 builds atalkd on NetBSD. docs/reference/sharing.txt.
The Sharing pane (Internet & Network) shows each service with its switch
and how others reach it (ssh host, smb://host/, host:/folder,
afp://host/), and the shared folders with Add and Remove; as a user it
offers Unlock..., as Accounts does.
Measured: on the Linux host, read only: ssh, smb, nfs installed, enabled,
running; afp and appletalk not installed (the pane on Xvfb says so). In
the build VM as root: NFS on started rpcbind, mountd, nfsd, statd, lockd;
sharing /tmp/mcdeshare made showmount -e list it for Everyone; NFS off
stopped them; the VM's rc.conf was restored after. First found there:
mountd will not start without /etc/exports, and statd/lockd are one
script, nfslocking. Samba and netatalk are not in the makronix set yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At login the session left or the home session, asking before logout, and
Save These Windows as Home Session: what dtstyle's Startup sets, sent the
same way (_DtSetSmState with SM_STATE_START and SM_STATE_CONFIRM; the
client message _DT_SM_SAVE_TO_HOME). And a list of programs to open at
login, one command a line in ~/.dt/login-items, which the new
Xsession.d/0095.loginitems starts five seconds into the session, each
through sh in the background, as 0090.dtbar starts the bar.
Measured in a dtsession on Xvfb (build/mcde-shots/startup-*.png):
_DT_SM_STATE_INFO went from start 4 (current), confirm 1 (verbose) to 3
(home), 2 (quiet); adding dtcalc wrote ~/.dt/login-items. 0095.loginitems
sourced by ksh returned at once and ran both entries of a test list (one
with blanks in its argument) after the pause, skipping the comment. Save
as Home Session is not measured.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One pane with two pages. Desktop: the backdrop in use as a preview with
its name; the places on the left -- CDE's backdrops, ~/.dt/backdrops,
~/Pictures, folders the user adds with Choose Folder... (kept in
~/.dt/backdrop-folders); their pictures small on the right, made one at a
time while the window is idle and scaled with Xrender; the style (fill,
fit, centre, tile); "Change picture every ..." and "Random order" make
the place a slideshow in dtwm (f.mcde_slideshow now, Dtwm*mcdeSlideshow
for the next login). Screen Saver: the savers of $DTSCREENSAVERLIST with
one running in a preview (_DtSaverStart), the minutes until it starts and
whether it asks for the password, sent to dtsession as dtstyle does.
DtWidget's mail control crashed in strlen when neither MAIL nor LOGNAME
was set (dtwm's front panel in a session started by hand): the name now
comes from the password file.
Measured on Xvfb with dtwm (build/mcde-shots/desk-*.png): the backdrops
and ~/Pictures appear as small pictures; a click made d-green.jpg the
backdrop and the preview; Change picture put "Dtwm*mcdeSlideshow: 30 0 3
.../Pictures" into the resources and dtwm showed the folder's first
picture; the Screen Saver page ran Swarm and Qix in its preview. Not
measured: the saver settings through dtsession (the test was not run).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Appearance shows CDE's palettes, each as a row of its colours (named
colours too: Black.dp, BlackWhite.dp), found where the colour server looks
(~/.dt/palettes, the configuration and the installation directory). A
choice merges "*0*ColorPalette: NAME.dp" with _DtAddToResource as dtstyle
does (ColorMain.c) and says it takes effect at the next login, with a Log
Out Now button: on TrueColor the colour server cannot change colours it has
allocated, which dtstyle says as well.
Fonts lists the families Xft knows and a size, with a preview in that
font, and merges *mcde.fontName/*mcde.fontSize, the render table every
MCDE program draws with (sys.resources). dtsession saves the whole
RESOURCE_MANAGER at logout (SmSave.c, OutputResource).
Measured on Xvfb (build/mcde-shots/input-appearance.png, input-fonts.png):
choosing Arizona put "*0*ColorPalette: Arizona.dp" into RESOURCE_MANAGER;
choosing DejaVu Sans Mono at 12 put "*mcde.fontName: DejaVu Sans Mono",
"*mcde.fontSize: 12" there, and the preview drew in it. The next login
with the new palette is not measured here.
www: System Settings and the bar brought up to date.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dtsystemsettings draws the Keyboard pane (key repeat, its delay and rate,
key click, a field to try it) and the Mouse pane (primary button, pointer
speed, threshold, double-click time) instead of opening dtstyle. A change
takes effect at once through Xlib and goes to dtsession as dtstyle sends
it (_DT_SM_KEYBOARD_INFO, _DT_SM_POINTER_INFO; *multiClickTime through
_DtAddToResource).
dtsession saves and restores the XKB repeat delay and interval
(XkbGetAutoRepeatRate at logout, XkbSetAutoRepeatRate at login), which the
core keyboard state does not carry. And it keeps every pointer button: the
map was char[5], the parse of the property wrote past it without a bound,
and the restore cut the map to 5, which the server refuses on a mouse with
more buttons.
Measured on Xvfb (build/mcde-shots): the sliders set the server (xset q:
delay 490, rate 29, click 20; acceleration 3/1, multiClickTime 280; xmodmap
-pp 1->3, 3->1). Through a whole dtsession: logout wrote RepeatDelay 490,
RepeatInterval 34, ButtonMap 3,2,1,4,...,10 (10 buttons), AccelNum 3; the
next login restored delay 490 rate 29, acceleration 3/1 and the swapped
buttons. The double-click time is saved (dt.resources) but its restore is
not measured: a dtsession started without Xsession gets no resources
loaded (3 in xrdb, against 108 in a real session).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
McdeSys: mcde_sys_users/user_add/user_delete (users.c, POSIX getpwent and
useradd/userdel), user_set_password and user_set_admin per system (NetBSD:
pw_gensalt+crypt for usermod -p, wheel; a group member removed by rewriting
the group's line as user.c does, since usermod -G only appends -- measured;
Linux: chpasswd on stdin, gpasswd, sudo), mcde_sys_update_check/apply
(NetBSD: /etc/makronix/update, RELEASE, sysupgrade, pkg_add -uu; Linux:
apt-get). A secret goes through a pipe, never on a command line.
Tests: test_sysinfo refuses a bad login and, not as root, adding (PASS on
Linux and NetBSD); as root in the NetBSD VM add/admin on/off/password/delete
pass and /etc/group is as before.
dtsystemsettings: Accounts (list, Add/Delete/Password/Administrator,
Unlock... through su -m root in a terminal, password fields show stars),
Software Update (running, available, new packages, source, Check Now,
Update Now... runs -apply-update as root in a terminal; the check runs
after the pane shows: apt took 21 s here).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Four bands of icons -- Personal, Hardware, Internet & Network, System --
from panes.c (plain C, PASS test_panes); a click opens the pane in the
window, Show All goes back, -pane ID opens one directly. Own panes through
McdeSys: Sound (volume, mute), Network (the cards, addresses, SSID),
Bluetooth (state, on/off), Date & Time (a running clock, the zone), About
(everything mcde_sys_info knows). Appearance, Desktop, Fonts, Language,
Screen Saver, Keyboard, Mouse, Startup open dtstyle, Printers dtprintinfo,
until they are drawn here; Accounts and Software Update are greyed. dtbar's
System Settings... and the Sound/Bluetooth/Network Settings... items open
it. New icons: a 48-pixel Makronix logo, 32-pixel network and Bluetooth.
Seen on Xvfb with dtwm and dtbar, sound against a private PulseAudio.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>