What was copied is shown on the screen the moment the launcher opens, so a
password from a password manager sat there in clear.
- Dtlaunch*clipboardHistory, default False. Off: nothing is asked of the
clipboard's owner (no XFixes watch, no poll) and the hint line drops "the
clipboard". System Settings > Keyboard & Mouse > Shortcuts has the toggle
"The launcher keeps a history of what was copied"; it writes the resource
like the hot key does and restarts the launcher.
- On: a text that is new is kept only if its owner does not offer the target
x-kde-passwordManagerHint with the value "secret" (what KeePassXC, KDE Wallet
and others set; docs/reference/clipboard-password-hint.txt has the two
sources and what they do not say). An unchanged clipboard costs no second
request. The copy of the text is overwritten after use.
Measured (Xvfb, a small X program as the password manager, logging requests):
on: owners "ordinary-text-123" (no hint target), "hunter2-PASSWORD" (hint
"secret"), "second-ordinary-456": each got UTF8_STRING then the hint request;
the list shows the two ordinary texts, not the password. Off (no resource):
0 requests in total, empty list. The toggle in the real dtsystemsettings gives
the resource True, False, True; the indicator changes; the note fits. Cross
compile (build's flags): dtlaunch.c and input.c without a warning; make check
of dtlaunch passes. Not verified: a real password manager (the assumption
that its MIME type is an X11 target of that name is written in the reference
file), a launcher restart on a real session. The default is the task's; one
word in dtlaunch.c's resource table turns it back.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
XFixesSelectSelectionInput on CLIPBOARD; the event names the new owner, whose
text is read once. configure.ac checks libXfixes and gives only dtlaunch
XFIXESLIB and XFIXES_CPPFLAGS (-DHAVE_XFIXES); a define in config.h would have
recompiled every file. Without the library or the extension the owner is asked
every 5 s (POLL_MS, was 1 s). The recipe lists x11/libXfixes/buildlink3.mk.
Measured with strace (writes to the X socket, 10 s idle after 4 s): 10 before,
0 with XFixes, 2 in the fallback (5.0 s and 10.0 s; tested with an LD_PRELOAD
shim that makes XFixesQueryExtension fail -- Xvfb -extension XFIXES aborts for
any Motif client, also an unmodified dtpad). Both paths still put a copy made
by xclip during idle into the history (screenshots). The sysroot has Xfixes.h,
libXfixes.so.4.1 and the pkg-config files; the cross build of the recipe change
is not run yet.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
dtsystemsettings -list-panes prints the panes (ID, name, category, keywords; a
PANE_LATER pane is left out) before any X setup. dtlaunch asks for them once
(pipe and exec, no shell, a 3 s poll limit; no waitpid, SIGCHLD is ignored
there) and model.c parses and matches them: the name at full score, a keyword
at half, the ID checked because it ends up in dtsystemsettings -pane ID. A
result reads '[settings] Displays (Hardware)' and starts through the same
Parental Controls as a program (run_args). dtlaunch -text STRING fills the
field of the first opening, for tests and tools/mcde-shot.sh.
Measured: make mcde-linux 'check programs/dtlaunch programs/dtsystemsettings'
exit=0, test_model PASS (test_panes: parse incl. unsafe IDs, matching incl. a
German keyword); -list-panes: 24 lines, exit 0 with DISPLAY unset, no dock;
Spotlight-mcde.png: typing 'disp' lists '[settings] Displays (Hardware)'
second; Return on 'displays' starts 'dtsystemsettings -pane displays' and a
window 'Displays' appears (Xvfb). Not done: the grouped two-column list,
documents/mail/PDF/web results, the dtbar magnifier, the clipboard without the
1 s poll (t0185, t0080).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
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>
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 makronix set list is regenerated (46569 entries,
build/logs/x-userland-2026-11-13d.log); mcde-host exit=0
(build/logs/mcde-host-2026-11-13c.log).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
programs/dtlaunch: Alt+space (Dtlaunch*hotkey) opens a field and a list;
matches programs in $PATH, ~/.dt/snippets (keyword TAB text), the
clipboard history (polled CLIPBOARD, 50 entries, memory only) and
calculations (=12*(3+4)). Return starts the program or puts the text on
CLIPBOARD and PRIMARY. One per display (_MCDE_DTLAUNCH); a second start
opens the first. C99/POSIX + Xt/Motif, no warnings with -Wpedantic.
model.c (no X) with test_model.c: make check PASS. Started in every
session by config/Xsession.d/0080.dtlaunch. Tested on Xvfb: snippet and
result reach the clipboard (build/mcde-shots/dtlaunch-*.png).
tools/mcde-linux.sh: check mode.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>