Boot Raspberry Pi 3 In Chromium Kiosk Mode

Posted on Posted in Blog

Here’s the best way I found to boot a Raspberry Pi 3 into the Chromium Kiosk mode, autostart, hide cursors, rotate the screen vertically, and disable the ‘Restore Pages’ pop up.

Step 1 – Install Unclutter (this is used to hide the cursor and will be used at a later stage)

Log in to your Raspberry Pi via SSH, or open the terminally directly on your Raspberry Pi and run the following command.

sudo apt-get install unclutter

Step 2 – Edit LXDE Autostart Script

We now need to start setting up the auto boot settings.

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

Remove everything inside the file and paste the following.

@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xset s off
@xset -dpms
@xset s noblank
@unclutter -idle 0
@sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium-browser/$
@chromium-browser --noerrdialogs --kiosk --incognito http://www.urlofwebsite.co.uk/

The last three lines are the important parts. This will remove the cursor, boot chromium immediately and then load incognito the website of your choice (Please be aware this may not be useful if you’re going to need to cache things).

Step 3 – Save your changes

Press ctrl+X followed by y and enter to save your changes.

Step 4 – (May not be necessary) Rotate the screen vertically

Run the following command

sudo nano /boot/config.txt

Scroll to the bottom and paste in the following line.

display_rotate=1

Step 5 – Save your changes

Press ctrl+X followed by y and enter to save your changes.

And you’re done! Reboot the Pi by entering sudo reboot and watch Chromium open into kiosk mode!

Leave a Reply