Skip to content

Instantly share code, notes, and snippets.

@HalCanary
Last active February 1, 2017 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HalCanary/7eb046e1bd2416dee1843d09e6619639 to your computer and use it in GitHub Desktop.
Save HalCanary/7eb046e1bd2416dee1843d09e6619639 to your computer and use it in GitHub Desktop.
#! /bin/sh
# Starting with clean Raspbian:
# https://www.raspberrypi.org/downloads/raspbian/
# Also:
# 1) Set Locale, Timezone, Keyboard
# 2) Connect to open WiFi network.
echo 'disable_overscan=1' | sudo tee -a /boot/config.txt > /dev/null
mkdir -p ~/.config/autostart
URL='https://status.skia.org/repo/skia'
cat > ~/.config/autostart/status_skia_org.desktop <<- EOF
[Desktop Entry]
Type=Application
Exec=/usr/bin/chromium-browser --kiosk --incognito "$URL"
EOF
cat > ~/.config/autostart/disable_screenblank.desktop <<- "EOF"
[Desktop Entry]
Type=Application
Exec=sh -c 'xset s off; xset s noblank; xset -dpms'
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment