Files
makronix/docs/screenshots/AGENTS.md
T
lotherk 1173bb17fa docs/screenshots: the whole desktop and a palette per picture
The desktop pictures show the session (dtbar, front panel, desktop icons)
and each picture of a series takes another palette (MCDE_SHOT_PALETTE);
tools/mcde-shot.sh has both (MCDE_SHOT_EXTRA=dtbar, MCDE_SHOT_FULL=1).
2026-11-16 19:04:11 +00:00

2.1 KiB

docs/screenshots/ -- our own pictures of MCDE, beside the reference

What it is for

A state of an MCDE program as it looks in this tree, so that a change can be compared with what it was meant to look like. One directory per reference: leopard/ holds the states taken from the Mac OS X 10.5 screenshots that drive the MCDE work (the tasks in tasksd, scope makronix/mcde).

The rule

  • Only our own pictures. A reference from another system stays a URL in its task; its artwork is not copied into this repository. A file here is a screenshot of MCDE made with tools/mcde-shot.sh.
  • The name is the reference's name with -mcde and .png: finder-quick-look-mcde.png for 10-5-Leopard-Finder-Quick-Look.png.
  • The picture shows the program, not a desk: the Xvfb screen (tools/mcde-shot.sh), no private home, no window of the developer.
  • One picture per state a task calls for (the overview and the search, the window and its dialog), replaced when the state changes -- not a gallery of every intermediate attempt.
  • The whole desktop. A picture shows the session, not only the program: the bar (dtbar) with clock, sound, Bluetooth, the global menu and the M menu, the front panel and the desktop icons. tools/mcde-shot.sh gets them with MCDE_SHOT_EXTRA=dtbar; MCDE_SHOT_FULL=1 starts the whole session through dtsession.
  • One palette per picture. MCDE_SHOT_PALETTE=NAME (a palette of programs/palettes, e.g. IRIX, Charcoal, Desert, Default) gives the picture its colours; two pictures of one series do not repeat a palette. Without it the colours of the app-defaults are the picture.

How one is made

MCDE_SHOT_SETUP='mkdir -p Pictures && cp /pfad/*.png Pictures/' \
MCDE_SHOT_ACTIONS='xdotool mousemove 355 210 click 1; xdotool key space' \
tools/mcde-shot.sh docs/screenshots/leopard/finder-quick-look-mcde.png \
    8 dtfile -dir $PWD/build/mcde-shots/home/Pictures

MCDE_SHOT_SETUP fills the fresh test home before the program starts, MCDE_SHOT_ACTIONS drives it (keys, clicks) before the picture is taken. Both are for the measurement; the file that is committed is the .png.