diff options
-rw-r--r-- | core/modules/kiosk-chromium/data/opt/openslx/pam/hooks/session-open.d/00-chromium-policies | 1 | ||||
-rw-r--r-- | core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/kiosk-chromium/data/opt/openslx/pam/hooks/session-open.d/00-chromium-policies b/core/modules/kiosk-chromium/data/opt/openslx/pam/hooks/session-open.d/00-chromium-policies index 7137f8cf..28edd8ef 100644 --- a/core/modules/kiosk-chromium/data/opt/openslx/pam/hooks/session-open.d/00-chromium-policies +++ b/core/modules/kiosk-chromium/data/opt/openslx/pam/hooks/session-open.d/00-chromium-policies @@ -24,6 +24,7 @@ create_chromium_policies() { "DeviceAutoUpdateDisabled": true, "DownloadRestrictions": 3, "HomepageLocation": $url, + "HomepageIsNewTabPage": false, "NewTabPageLocation": "about:blank", "PasswordManagerEnabled": false, "RestoreOnStartup": 4, 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 98f8fa23..a11d4cbb 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 @@ -115,7 +115,7 @@ if [ -n "$SLX_BROWSER_RELOAD_SECS" ] && [ "$SLX_BROWSER_RELOAD_SECS" -gt 0 ]; th if (( current_idle >= SLX_BROWSER_RELOAD_SECS )); then if [ "$activity" = "yes" ] && [ -n "$SLX_BROWSER_INTERACTIVE" ]; then # activity was seen, interactive browser (UI) -> kill session - killall chromium-browser + killall chromium-browser chromium loginctl terminate-user demo else xdotool windowactivate "$wid" |