34 lines
986 B
Plaintext
34 lines
986 B
Plaintext
#
|
|
# These things are run when an Openbox X Session is started.
|
|
# You may place a similar script in $HOME/.config/openbox/autostart
|
|
# to run user-specific things.
|
|
#
|
|
|
|
# If you want to use GNOME config tools...
|
|
#
|
|
#if test -x /usr/lib/aarch64-linux-gnu/gnome-settings-daemon >/dev/null; then
|
|
# /usr/lib/aarch64-linux-gnu/gnome-settings-daemon &
|
|
#elif which gnome-settings-daemon >/dev/null 2>&1; then
|
|
# gnome-settings-daemon &
|
|
#fi
|
|
|
|
# If you want to use XFCE config tools...
|
|
#
|
|
#xfce-mcs-manager &
|
|
|
|
xset s off
|
|
xset s noblank
|
|
xset -dpms
|
|
|
|
setxkbmap -option terminate:ctrl_alt_bksp
|
|
|
|
# Start Chromium in kiosk mode
|
|
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State'
|
|
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences
|
|
|
|
/usr/bin/chromium-browser --disable-infobars --kiosk --incognito --disable-pinch --overscroll-history-navigation=0 http://192.168.1.186:3000/
|
|
|
|
|
|
|
|
|