- Install a fresh image of Raspbian and boot the Pi
- Follow the installation guide if needed
- Go through the prompts to finish initial setup
- Open a Termial window
- Type
sudo apt-get install unclutter - Type
sudo raspi-config- Select
Boot Optionswith Enter- Select
Wait for Network at Bootwith Enter - Select
Yeswith Enter - Press Enter again
- Select
- Press Enter again
- Press Esc
- Select
- 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- The
--kioskflag starts Chromium in full screen - The
--incognitoflag hides any message about Chromium not cleanly exiting/crashing
- The
- Save the file
- Press Ctrl+X
- Press Y
- Press Enter
- Comment this line by putting a
- In this file:
- Type
sudo nano /boot/config.txt- In this file:
- Uncomment this line by removing the
#in front of it to disable screen overscandisable_overscan=1
- Add this line to increase GPU memory
gpu_mem=128
- Save the file
- Press Ctrl+X
- Press Y
- Press Enter
- Uncomment this line by removing the
- In this file:
- 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
- Add this line to reboot the Pi every day at 12 am via a Cron
- Type
sudo reboot- The Pi will reboot
- Type
- 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
Last active
October 22, 2023 03:36
-
-
Save thomasnorris/ffccd67a3d29283a05ff79576936cdba 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)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suggest you check out FullPageOS distro, which does it for you and allows you to set the URL and wifi details in a simple text files on the microSD card.
FullPageOS is also configurable in a way that allows you to create distro variants with your own custom boot commands.