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.

Revisions

  1. @thomasnorris thomasnorris revised this gist Aug 16, 2018. 1 changed file with 10 additions and 8 deletions.
    18 changes: 10 additions & 8 deletions Raspberry Pi Kiosk Setup.md
    Original file line number Diff line number Diff line change
    @@ -24,24 +24,26 @@
    - Press <kbd>Ctrl+X</kbd>
    - Press <kbd>Y</kbd>
    - Press <kbd>Enter</kbd>
    - Type `crontab -e`
    - Pick __Nano__ as the editor if prompted
    - Type `sudo nano /boot/config.txt`
    - In this file:
    - Add this line to reboot the Pi every day at __12 am__ via a [Cron](https://en.wikipedia.org/wiki/Cron#Overview)
    - `0 0 * * * sudo reboot`
    - 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 <kbd>Ctrl+X</kbd>
    - Press <kbd>Y</kbd>
    - Press <kbd>Enter</kbd>
    - Type `sudo nano /boot/config.txt`
    - Type `crontab -e`
    - Pick __Nano__ as the editor if prompted
    - In this file:
    - Uncomment this line by removing the `#` in front of it to disable screen overscan
    - `disable_overscan=1`
    - Add this line to reboot the Pi every day at __12 am__ via a [Cron](https://en.wikipedia.org/wiki/Cron#Overview)
    - `0 0 * * * sudo reboot`
    - Save the file
    - Press <kbd>Ctrl+X</kbd>
    - Press <kbd>Y</kbd>
    - Press <kbd>Enter</kbd>
    - 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 <kbd>Alt+F4</kbd>
    - Exit to the Raspbian desktop with <kbd>Alt+F4</kbd>
  2. @thomasnorris thomasnorris revised this gist Aug 16, 2018. No changes.
  3. @thomasnorris thomasnorris renamed this gist Aug 16, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. @thomasnorris thomasnorris renamed this gist Aug 16, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @thomasnorris thomasnorris created this gist Aug 16, 2018.
    47 changes: 47 additions & 0 deletions RPi Kiosk Mode
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    ## Raspberry Pi Kiosk Setup
    - Install a fresh image of [Raspbian](https://www.raspberrypi.org/downloads/raspbian/) and boot the Pi
    - Follow the [installation guide](https://www.raspberrypi.org/documentation/installation/installing-images/README.md) if needed
    - 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 <kbd>Enter</kbd>
    - Arrow down to `Wait for Network at Boot` and select it with <kbd>Enter</kbd>
    - Select `Yes` with <kbd>Enter</kbd>
    - Press <kbd>Enter</kbd> again
    - Press <kbd>Esc</kbd>
    - 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 <kbd>Ctrl+X</kbd>
    - Press <kbd>Y</kbd>
    - Press <kbd>Enter</kbd>
    - 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](https://en.wikipedia.org/wiki/Cron#Overview)
    - `0 0 * * * sudo reboot`
    - Save the file
    - Press <kbd>Ctrl+X</kbd>
    - Press <kbd>Y</kbd>
    - Press <kbd>Enter</kbd>
    - 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`
    - Save the file
    - Press <kbd>Ctrl+X</kbd>
    - Press <kbd>Y</kbd>
    - Press <kbd>Enter</kbd>
    - 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 <kbd>Alt+F4</kbd>