summaryrefslogtreecommitdiffstats
path: root/core/modules/slxbrowser/data/opt/openslx/scripts/kiosk-launch
blob: 2550bf63ab26b9c8c5d50caac293cee736c28372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/ash

. /opt/openslx/config

[ -z "$SLX_BROWSER_URL" ] && exit 1

xset s off
xset -dpms

openbox &

[ -n "$SLX_BROWSER_INSECURE" ] && SLX_BROWSER_INSECURE="--insecure"

xdotool mousemove 20000 20000 &
exec slxbrowser $SLX_BROWSER_INSECURE --fullscreen "$SLX_BROWSER_URL"