Boot your Raspberry Pi with PIXEL DesktopI into Kiosk Mode

So had a little project in the office that I thought a PI would be perfect for.

This project was to show that locations of the various company vehicles on a map as they all have trackers fitted.

So downloaded the latest Raspberry PI operating system and installed it then proceeded to make it boot into kiosk mode. Detailed below are the steps that I used to achieve this.

Here are the commands that I issued from the command line.

sudo apt-get install -y x11-xserver-utils unclutter
sudo apt-get install unclutter
nano /home/pi/.config/lxsession/LXDE-pi/autostart

You should see something that looks like this
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash

You will then need to edit it too look like this
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
#@xscreensaver -no-splash
@xset s off
@xset -dpms
@xset s noblank
@unclutter -idle 0.1 -root
@sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
@chromium-browser --noerrdialogs --kiosk

Note the bolded portion is the URL of the site you automatically want to show on boot. Reboot your pi and you should be looking at in full browser mode if you left the example in.


Now you may want to stop it booting into kiosk mode. So to do this from a command line type the following.

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

then change the following line from

@chromium-browser --noerrdialogs --kiosk
#@chromium-browser --noerrdialogs --kiosk

and then reboot

Author: admin