Created
June 3, 2025 09:55
-
-
Save Bouni/7b61d5870496100649f9dd8e4783f165 to your computer and use it in GitHub Desktop.
RPi Kiosk
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 characters
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