Updates for standalone

This commit is contained in:
2026-03-05 14:05:10 -05:00
parent 063b2e6cc8
commit 2d8a1a4a2c
5 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/sbin/agetty --noclear --autologin kioskuser %I $TERM

View File

@@ -0,0 +1,8 @@
if [ $(tty) == "/dev/tty1" ]; then
while true
do
startx
echo "X session ended, restarting..."
sleep 5
done
fi

View File

@@ -20,4 +20,3 @@ fi
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
/usr/bin/startx /etc/X11/Xsession /usr/local/bin/openkiosk -- :0

View File

@@ -0,0 +1,6 @@
#!/bin/bash
while true
do
/usr/local/bin/openkiosk
done

View File

@@ -0,0 +1,7 @@
# Include global config
include /etc/xpdf/xpdfrc
# Disable mouse buttons
unbind mousePress3 any
unbind mousePress2 any
unbind mousePress1 any