summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-01-30 14:34:23 +0100
committerJonathan Bauer2020-01-30 14:34:23 +0100
commitdc88f36d73c0e3de8de4d25ed1318b2b4a61f750 (patch)
treec7b536141d4a283b4ed90e59f2e537f45218b558
parent[hardware-stats] fix weird typo (diff)
downloadmltk-dc88f36d73c0e3de8de4d25ed1318b2b4a61f750.tar.gz
mltk-dc88f36d73c0e3de8de4d25ed1318b2b4a61f750.tar.xz
mltk-dc88f36d73c0e3de8de4d25ed1318b2b4a61f750.zip
[kiosk-slxbrowser] wait 0.5sec before starting
works around the problem that the browser is invisible on start
-rw-r--r--core/modules/kiosk-slxbrowser/data/opt/openslx/scripts/kiosk-launch.d/00-slxbrowser3
1 files changed, 3 insertions, 0 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 b8ae52a0..3f81c093 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
@@ -32,4 +32,7 @@ else
OPTS+=("--fullscreen")
fi
+# HACK: give whatever enough time to whatever it does properly
+usleep 500000
+
exec slxbrowser "${OPTS[@]}" "$SLX_BROWSER_URL"