diff options
author | Jonathan Bauer | 2020-02-05 11:28:43 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-02-05 11:28:43 +0100 |
commit | 64bd23fa8ff4922d9d7e4b4cbbc07bbb89d37360 (patch) | |
tree | 3df651f1cfb23d038ce19ce46adb1512f0bfc701 | |
parent | [kiosk-*] maximized/fullscreen w/o openbox (diff) | |
download | mltk-64bd23fa8ff4922d9d7e4b4cbbc07bbb89d37360.tar.gz mltk-64bd23fa8ff4922d9d7e4b4cbbc07bbb89d37360.tar.xz mltk-64bd23fa8ff4922d9d7e4b4cbbc07bbb89d37360.zip |
[kiosk-slxbrowser] honor SLX_AUTOLOGIN instead of
SLX_BROWSER_INTERACTIVE which makes no sense in slxbrowser anyways. Also
wait a tad longer before starting to work around that stupid bug that
the browser started but invisible until the user presses a key/mouse
(weird openbox/QT interaction?).
-rw-r--r-- | core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser b/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser index 3f81c093..fc8d0eae 100644 --- a/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser +++ b/core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser @@ -26,13 +26,13 @@ if [ -n "$SLX_BROWSER_URLLIST" ]; then ( sleep 5; rm -f -- "$LIST" ) & fi -if [ -n "$SLX_BROWSER_INTERACTIVE" ]; then +if [ -z "${SLX_AUTOLOGIN%OFF}" ]; then OPTS+=("--maximized") else OPTS+=("--fullscreen") fi # HACK: give whatever enough time to whatever it does properly -usleep 500000 +sleep 1 exec slxbrowser "${OPTS[@]}" "$SLX_BROWSER_URL" |