Created
March 18, 2019 13:55
-
-
Save kovagoz/3d640b19a9afe5916b1843dd0ff20fb1 to your computer and use it in GitHub Desktop.
Raspberry PI config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable any form of screen saver / screen blanking / power management | |
xset s off | |
xset s noblank | |
xset -dpms | |
# Allow quitting the X server with CTRL-ATL-Backspace | |
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 | |
chromium-browser --disable-infobars --kiosk 'http://your-url-here' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment