sys.dtwmrc bound Mod4 Shift 3 and 4 (and Ctrl for the clipboard) to
`dtscreenshot` since 2026-11-15, and the program did not exist: the key
reached dtwm and nothing happened (tools/mcde-keytest.sh, t0222).
programs/dtscreenshot/dtscreenshot.c: C99, Xlib and libpng only, no toolkit.
(none) the root window -- every monitor -- as a PNG,
"Screenshot YYYY-MM-DD at HH.MM.SS.png" in ~/Desktop, else in ~
-area the rectangle the pointer drags out, XOR outline, Escape cancels
-clipboard image/png on the CLIPBOARD selection, held until another owner
-delay N wait before the picture (a menu to open first)
-o FILE this file instead of the default name
Nothing runs until the key is pressed; the area is grabbed with a crosshair
cursor; a picture larger than the server's maximum request is refused with a
message (the clipboard is handed over in one property, no INCR).
Wired in three places as ext/src/mcde/AGENTS.md asks: programs/Makefile.am's
SUBDIRS, configure.ac's AC_CONFIG_FILES, the source directory with its
Makefile.am; dt/bin/dtscreenshot is a PLIST line.
Measured on Xvfb :99 with the development build (build/mcde-root/dt/bin):
dtscreenshot -o /tmp/shot-test.png -> 800x600 PNG, exit 0
dtscreenshot -area -o /tmp/shot-area.png with
xdotool mousemove 100 100 mousedown 1 mousemove 300 250 mouseup 1
-> 200x150 PNG
dtscreenshot -clipboard, then
xclip -selection clipboard -t image/png -o -> 800x600 PNG
tools/mcde-keytest.sh: Mod4 Shift 3 puts
"Screenshot 2026-11-15 at 08.51.30.png" on the session's Desktop
(0 before, 1 after; build/logs/mcde-keytest-2026-11-15f.txt).
make mcde-linux MCDE_DIRS=plist: 3210 installed names under dt/, ok.