From 7aa0e4040e73449cdf713e198477e62746c18f78 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 11 Aug 2020 11:14:05 +0200 Subject: [kiosk-chromium] Throttle auto-reloading --- .../kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium | 1 + 1 file changed, 1 insertion(+) (limited to 'core/modules/kiosk-chromium') diff --git a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium index 488acb8d..ba10aefa 100644 --- a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium +++ b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium @@ -124,6 +124,7 @@ if [ -n "$SLX_BROWSER_RELOAD_SECS" ]; then if [ "$current_idle " -ge "$SLX_BROWSER_RELOAD_SECS" ]; then xdotool windowactivate "$wid" xdotool key Alt+Home + sleep 10 continue fi sleep "$(( SLX_BROWSER_RELOAD_SECS - current_idle ))" -- cgit v1.2.3-55-g7522