Skip to content

Instantly share code, notes, and snippets.

@Bouni
Created June 3, 2025 09:55
Show Gist options
  • Save Bouni/7b61d5870496100649f9dd8e4783f165 to your computer and use it in GitHub Desktop.
Save Bouni/7b61d5870496100649f9dd8e4783f165 to your computer and use it in GitHub Desktop.
RPi Kiosk
sudo apt update && sudo apt upgrade -y
sudo apt install -y lightdm openbox chromium-browser unclutter xorg
sudo nano /etc/lightdm/lightdm.conf
[Seat:*]
autologin-user=pi
autologin-user-timeout=0
user-session=openbox
mkdir -p ~/.config/openbox
nano ~/.config/openbox/autostart
#!/bin/bash
# Disable screen blanking
xset s off
xset -dpms
xset s noblank
# Hide mouse cursor when inactive
unclutter -idle 0.5 -root &
# Wait for network (optional)
sleep 10
# Launch Chromium in kiosk mode
chromium-browser \
--noerrdialogs \
--disable-infobars \
--kiosk \
--disable-session-crashed-bubble \
--disable-restore-session-state \
--disable-web-security \
--disable-features=VizDisplayCompositor \
--start-fullscreen \
--no-first-run \
--app=https://display.fireplan.de/
chmod +x ~/.config/openbox/autostart
sudo systemctl set-default graphical.target
sudo systemctl disable bluetooth
sudo systemctl disable hciuart
sudo systemctl disable triggerhappy
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment