Updates for standalone
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=-/sbin/agetty --noclear --autologin kioskuser %I $TERM
|
||||
8
distfiles/home/kioskuser/.bashrc
Normal file
8
distfiles/home/kioskuser/.bashrc
Normal file
@@ -0,0 +1,8 @@
|
||||
if [ $(tty) == "/dev/tty1" ]; then
|
||||
while true
|
||||
do
|
||||
startx
|
||||
echo "X session ended, restarting..."
|
||||
sleep 5
|
||||
done
|
||||
fi
|
||||
@@ -20,4 +20,3 @@ fi
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
/usr/bin/startx /etc/X11/Xsession /usr/local/bin/openkiosk -- :0
|
||||
|
||||
6
distfiles/home/kioskuser/.xinitrc
Executable file
6
distfiles/home/kioskuser/.xinitrc
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true
|
||||
do
|
||||
/usr/local/bin/openkiosk
|
||||
done
|
||||
7
distfiles/home/kioskuser/.xpdfrc
Normal file
7
distfiles/home/kioskuser/.xpdfrc
Normal file
@@ -0,0 +1,7 @@
|
||||
# Include global config
|
||||
include /etc/xpdf/xpdfrc
|
||||
|
||||
# Disable mouse buttons
|
||||
unbind mousePress3 any
|
||||
unbind mousePress2 any
|
||||
unbind mousePress1 any
|
||||
Reference in New Issue
Block a user