wolfgang ziegler

Setting up a Raspberry Pi in Kiosk Mode - 2020 Update

This is an update to the blog post Setting up a Raspberry Pi in Kiosk Mode I wrote in 2016. A couple of things have changes since them, some are the same. However, this is how the kiosk mode setup worked for me with latest Raspbian version.

Raspian Buster, February 2020

This image I used is Raspbian Buster with desktop and it comes with a Chromium browser installed by default. Also I am running with the default user pi, which is relevant for the example below and needs to be considered if you are running a different user.

So these are the steps I took to get a basic clean Kiosk Experience.

Hide the Mouse Cursor

First, we want to get rid of the mouse cursor on the desktop. This is really simple and only requires us to install the unclutter package.

$ sudo apt-get install unclutter

To make sure that this actually worked, we can simply restart the desktop using following command:

$ sudo service lightdm restart

Disable the Screensaver

The next important step is to prevent the screensaver kicking in and blanking the screen.
The simplest configuration I could come up with was changing the file /etc/xdg/lxsession/LXDE-pi/autostart like this: