TFT Dashboard with Raspberry Pi
From ProjectPages
Contents
Auto start Chromium in Kiosk mode
Method 1
1. Install chromium, x11-xserver-utils and unclutter
sudo apt-get update sudo apt-get upgrade -y sudo apt-get install chromium x11-xserver-utils unclutter
2. We need to prevent screen from going blank and disable screen saver.
– edit /etc/xdg/lxsession/LXDE/autostart
and comment # screen saver line and add those lines:
@xset s off @xset -dpms @xset s noblank @chromium --kiosk --incognito http://some.web.
Method 2
create ~/.config/autostart/chromium.desktop
with the following contents:
[Desktop Entry] Encoding=UTF-8 Name=Connect Comment=Checks internet connectivity Exec=/usr/bin/chromium-browser -incognito --kiosk http://localhost:8080
Disable screen blanking
sudo nano /etc/kbd/config
Change these two lines.
# screen blanking timeout. monitor remains on, but the screen is cleared to # range: 0-60 min (0==never) kernels I've looked at default to 10 minutes. # (see linux/drivers/char/console.c) BLANK_TIME=0 # Powerdown time. The console will go to DPMS Off mode POWERDOWN_TIME # minutes _after_ blanking. (POWERDOWN_TIME + BLANK_TIME after the last input) POWERDOWN_TIME=0
Re start the file or just reboot
sudo /etc/init.d/kbd restart
Setting up the web page
sudo pip install bottle