Rasbperry Pi as a dashboard computer

Here are my raw, unpolished notes on how I set up a raspberry pi to serve as a dashboard display:

Use Raspbian OS

Autostart Chrome in kiosk mode

~/.config/lxsession/LXDE-pi/autostart
@chromium-browser --kiosk --incognito <url> --disable-infobars --disable-session-crashed-bubble

Prevent Chrome crash bubble

vim /home/pi/.config/chromium/Default/Preferences
"exit_type":"Normal"

chattr +i /home/pi/.config/chromium/Default/Preferences

Mouse removal

sudo apt-get install unclutter

in ~/.config/lxsession/LXDE-pi/autostart add

@unclutter -idle 5

Disable screen blank:

in /etc/lightdm/lightdm.conf add

[SeatDefaults]
xserver-command=X -s 0 -dpms

Open up SSH & VNC

raspi-config

Interfaces / SSH & Interfaces / VNC: Enable

Increase swap file

sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=2048M

Configure NTP

sudo apt-get install openntpd
sudo systemctl enable openntpd

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.