Forked from thomasnorris/Raspberry Pi Kiosk Setup.md
Created
August 17, 2018 01:52
-
-
Save Tash-TheGreenDev/2c96fa0927aab7e806ed0dccc5edf321 to your computer and use it in GitHub Desktop.
Revisions
-
thomasnorris revised this gist
Aug 16, 2018 . 1 changed file with 10 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 `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 <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> - 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> -
thomasnorris revised this gist
Aug 16, 2018 . No changes.There are no files selected for viewing
-
thomasnorris renamed this gist
Aug 16, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thomasnorris renamed this gist
Aug 16, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thomasnorris created this gist
Aug 16, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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>