diff options
Diffstat (limited to 'core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch')
-rwxr-xr-x | core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch b/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch index 8525d2f2..263ff855 100755 --- a/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch +++ b/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch @@ -19,6 +19,14 @@ openbox --config-file "/etc/xdg/openbox/rc.xml.kiosk" & # move the mouse away xdotool mousemove 20000 20000 +if [ -z "$SLX_BROWSER_INTERACTIVE" ]; then + # swallow keyboard shortcuts of chromium + xbindkeys -f /opt/openslx/lightdm/xbindkeys-kiosk.rc & +else + # volume controls only + xbindkeys -f /opt/openslx/lightdm/xbindkeys-kiosk-interactive.rc & +fi + # Remember list of jobs running the background, so we can clean up # any mess left around by failed attempts below # |