The script was in the tree untracked; reviewed before it went in: - pam_permit was written to the host's /etc/pam.d/dtlogin before the trap that puts it back was set: a run killed in between left the graphical login open without a password. The trap comes first now, and only a run that switched puts the file back. - the PAM backup was taken once (2026-11-15) and put back over every newer file; it is taken from the file as it is, each run. - restore removed $HOME/.dt before copying the backup back; the session's copy is set aside now, and the backup is made whole or not at all. .gitignore: /.hermes/ (an agent's local plans) and /www/screenshots/ (raw shots; the kept ones are www/img/).
32 lines
680 B
Plaintext
32 lines
680 B
Plaintext
# Sample control script for mcde-desktop.sh producing the website shots.
|
|
# Run: tools/mcde-desktop.sh tools/mcde-desktop-webshots.cmds
|
|
# Output goes to www/screenshots/ ; copy the ones you keep into www/img/.
|
|
|
|
# 1. the plain desktop (let the desktop fully paint first)
|
|
wait 8
|
|
shot www/screenshots/shot-desktop.png
|
|
|
|
# 2. open a terminal
|
|
run dtterm
|
|
wait 2
|
|
shot www/screenshots/shot-dtterm.png
|
|
|
|
# 3. open the file manager
|
|
run dtfile
|
|
wait 2
|
|
shot www/screenshots/shot-dtfile.png
|
|
|
|
# 4. open System Settings
|
|
run dtsystemsettings
|
|
wait 2
|
|
shot www/screenshots/shot-settings.png
|
|
|
|
# 5. open the launcher
|
|
key Super_L space
|
|
wait 2
|
|
shot www/screenshots/shot-dtlaunch.png
|
|
key Escape
|
|
wait 1
|
|
|
|
exit
|