Skip to content

Instantly share code, notes, and snippets.

@kovagoz
Created March 18, 2019 13:55
Show Gist options
  • Save kovagoz/3d640b19a9afe5916b1843dd0ff20fb1 to your computer and use it in GitHub Desktop.
Save kovagoz/3d640b19a9afe5916b1843dd0ff20fb1 to your computer and use it in GitHub Desktop.
Raspberry PI config
# 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