techtek/steempi

On system boot, autostart Chromium and open the SteemPi interface in Kiosk mode

Opened this issue · 0 comments

Kiosk mode for SteemPi

(This could be added to the installation instructions)

The below commands can be used to make SteemPi interface autostart in full screen on each boot of the SteemPi system.
(and it disables the screensaver. Maybe other commands could also be useful and added in this script at a later moment )

How to:

  • Copy the autostart file from /etc/xdg/lxsession/LXDE-pi/autostart to /home/pi/.config/lxsession/LXDE-pi/autostart with the command:
    cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart

After that edited the file with the command:

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

#@xscreensaver -no-splash # comment this line out with a # to disable the screensaver

and add to the file:

@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --incognito --kiosk http://localhost/ # load chromium and SteemPi Webserver

reboot and test