Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Tash-TheGreenDev/2c96fa0927aab7e806ed0dccc5edf321 to your computer and use it in GitHub Desktop.

Select an option

Save Tash-TheGreenDev/2c96fa0927aab7e806ed0dccc5edf321 to your computer and use it in GitHub Desktop.
Instructions for installing a fresh image of Raspbian and turning the Pi into a kiosk (for google slides, google photos, etc)

Raspberry Pi Kiosk Setup

  • Install a fresh image of Raspbian and boot the Pi
  • Go through the prompts to finish initial setup
  • Open a Termial window
    • Type sudo apt-get install unclutter
    • Type sudo raspi-config
      • Arrow down to Boot Options select it with Enter
      • Arrow down to Wait for Network at Boot and select it with Enter
      • Select Yes with Enter
      • Press Enter again
      • Press Esc
    • Type sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
      • In this file:
        • Comment this line by putting a # in front of it to disable the screen saver
          • @xscreensaver -no-splash
        • Disable power saving of the attached monitor
          • @xset s off -dpms
        • Remove the mouse cursor from the screen
          • @unclutter -idle 0
        • Start Chromium in full screen at the desired URL
          • @chromium-browser --kiosk --incognito http://site-to-launch.com
        • Save the file
          • Press Ctrl+X
          • Press Y
          • Press Enter
    • Type sudo nano /boot/config.txt
      • In this file:
        • Uncomment this line by removing the # in front of it to disable screen overscan
          • disable_overscan=1
        • Add this line to increase GPU memory
          • gpu_mem=128
        • Save the file
          • Press Ctrl+X
          • Press Y
          • Press Enter
    • Type crontab -e
      • Pick Nano as the editor if prompted
      • In this file:
        • Add this line to reboot the Pi every day at 12 am via a Cron
          • 0 0 * * * sudo reboot
        • Save the file
          • Press Ctrl+X
          • Press Y
          • Press Enter
    • Reboot the Pi
      • Type sudo reboot
  • On reboot, Chromium should open the specified URL in full screen mode and the Pi will automatically reboot according to the schedule set above
    • Exit to the Raspbian desktop with Alt+F4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment