Kiosk: --kiosk-hybrid keeps the desktop and locks only leaving the session
CI / test (push) Successful in 3m49s

Panel, launcher, dock, desktop module and shortcuts stay; Log out and power
actions are refused while locked. Admin escape and chandra-ctl kiosk work as
in the strict kiosk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hgvjzw8hHirxRsXSsE
This commit is contained in:
Claude committed 2026-11-26 02:38:02 +00:00
1 parent f0c39757d7
commit b4f7149c72
7 files changed
+115 -15

No files matched your search

+12
View File
@@ -21,6 +21,18 @@ While the kiosk is **locked** (it starts locked):
growing delay (1 s, 2 s, 4 s ... 30 s) if it keeps dying within 10 s of starting. `""` starts
nothing.
## Hybrid kiosk
`--kiosk-hybrid` (alone, or with `--kiosk CMD`) keeps the whole desktop and locks only the way
out: the panel, the launcher, the dock, the desktop module (Icon Desktop, a game library), the
shortcuts and the usual window layout all work, while Log out and suspend / restart / power off
are refused with a notice. `CMD`, if given, is started and restarted as above (when no window at
all is left).
```
build/wasmhost build/compositor.wasm --x11 --fullscreen --app-id gamerig-desktop --kiosk-hybrid
```
**Admin escape:** Ctrl+Alt+Shift+Escape unlocks the kiosk (panel, shortcuts and menus come back,
windows leave fullscreen) and locks it again. From a script: `chandra-ctl kiosk unlock`,
`chandra-ctl kiosk lock`, `chandra-ctl kiosk status`.