Switch musicdolphin's screen from the IR remote's power key
pi_kiosk installs kiosk-screen on|off|toggle|status, which switches the monitor via DPMS on the kiosk's X display (the Dell P2419H has no HDMI-CEC). Turning it back on also turns DPMS off again, as .xinitrc does, so the screen never blanks by itself. musicdolphin's backend config runs `kiosk-screen toggle` for the power key (the new screen: section, MusicMouse 2d0caeb). config.yml is install-once, so the running host is changed by hand the same way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,15 @@ Vars:
|
||||
Meant to run alongside `pi_musicmouse` on the same host when it's serving the page
|
||||
locally (the default `pi_kiosk_url`), gated in `mediapis.yml` by `mediapi_has_monitor`.
|
||||
|
||||
## Switching the screen off
|
||||
|
||||
`/usr/local/bin/kiosk-screen on|off|toggle|status` switches the monitor through DPMS:
|
||||
X stops the HDMI signal and the monitor goes into standby, while the browser and
|
||||
whatever is playing carry on. It is there for the MusicMouse backend, whose `screen:`
|
||||
config section runs `kiosk-screen toggle` on the IR remote's power key, and works the
|
||||
same as root over ssh. HDMI-CEC would switch a TV off properly, but musicdolphin's Dell
|
||||
P2419H does not speak it, and every monitor understands losing its signal.
|
||||
|
||||
## Why Chromium
|
||||
|
||||
Firefox was the original choice and lost on measurement. Same page, same machine, idle:
|
||||
|
||||
Reference in New Issue
Block a user