Skip to content

Instantly share code, notes, and snippets.

@joecampo
Created August 22, 2019 16:12
Show Gist options
  • Save joecampo/ebb0ea704f72322114ae4b5a425b8361 to your computer and use it in GitHub Desktop.
Save joecampo/ebb0ea704f72322114ae4b5a425b8361 to your computer and use it in GitHub Desktop.
#!/bin/bash
xset s noblank
xset s off
xset -dpms
unclutter -idle 0.5 -root &
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences
/usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk https://pimylifeup.com https://www.adafruit.com &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment