Skip to content

0005: Our own ES-DE startup script

  • Status: Superseded (2026-11-15: Wolf left the stack; our ES-DE image on our own base starts ES-DE itself, so no Wolf ES-DE entry needs this script)
  • Date: 2026-11-13

Context

Under Gamescope (ADR 0003) the ES-DE image does not start: its /opt/gow/startup-app.sh passes the ES-DE command to launcher as one quoted string. Sway splits that string; Gamescope tries to run a file with the whole string as its name. Options: our own copy of the 7-line script, a sed on the upstream line in the start hook, or waiting for an upstream fix.

Decision

Ship stack/overlays/es-de/startup-app.sh (upstream's file without the quotes) and mount it read-only over the image's. Gamescope is our choice, not Wolf's default, so its launch is ours. It still calls upstream's launcher, so Gamescope's setup stays upstream code.

Consequences

  • This is patching upstream (AGENTS.md rule 1). A test compares our file with a saved copy of upstream's (stack/tests/fixtures/); refresh that copy when the image changes.
  • The fix is drafted in docs/upstream-drafts/gow-startup-app-quoting.md. Once upstream ships it, drop our copy.