diff --git a/scripts/kiosk-session.sh b/scripts/kiosk-session.sh new file mode 100644 index 0000000..caf5bb8 --- /dev/null +++ b/scripts/kiosk-session.sh @@ -0,0 +1,13 @@ +#!/bin/bash +xset s off +xset -dpms +xset s noblank + +# Backend photobooth +cd /home/jules/photobooth +source .venv/bin/activate +authbind --deep python -m backend.main & + +sleep 3 + +exec chromium --kiosk --noerrdialogs --disable-infobars --disable-translate --disable-features=TranslateUI,Translate,LockProfileCookieDatabase --disable-session-crashed-bubble --disable-component-update --check-for-update-interval=31536000 --autoplay-policy=no-user-gesture-required --start-fullscreen --incognito --touch-events=enabled --enable-touch-drag-drop --force-device-scale-factor=3 --password-store=basic http://localhost