Rename „Kiosk Browser“ to „Simple Kiosk Browser“

This commit is contained in:
2024-06-04 16:49:15 +02:00
parent e2b9badcd0
commit 51c9154259
6 changed files with 3 additions and 3 deletions
@@ -0,0 +1,33 @@
#!/bin/bash
URL="/media/assets/data/index.html"
# List of Chromium Command Line Switches
# https://peter.sh/experiments/chromium-command-line-switches/
COMMAND="chromium-browser \
--kiosk \
--bwsi \
--overscroll-history-navigation=1 \
--incognito \
--disable-features=Translate,Infobars \
--disable-pinch \
--no-default-browser-check \
--no-first-run \
--noerrdialogs \
--num-raster-threads=8 \
--enable-zero-copy \
--class=TooloopKiosk \
$URL"
if [ $EUID == 0 ]; then
pkill chrome
sleep 0.1
su tooloop -c "$COMMAND" &
else
pkill chrome
sleep 0.1
$COMMAND &
fi
exit 0
@@ -0,0 +1,5 @@
#!/bin/bash
pkill chrome &
exit 0