Kiosk Mode

Installation of the required packages:

sudo apt-get install chromium-browser
sudo apt-get install unclutter

Uncutter allows hiding the mouse.

Enabling fullscreen mode: This can be achieved with a few adjustments and an installed Chromium browser.

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
# Disable screensaver
#@xscreensaver -no-splash
@xset s off
@xset -dpms
@xset s noblank

# Load Chromium in fullscreen on reboot
@chromium-browser --incognito --kiosk https://itrig.de/kiosk

Hide Cursor

The existing file simply needs to be extended with another command.

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

# For Raspbian Buster/Raspberry Pi 4, the path is as follows.
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

# Copy & Paste
@unclutter
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --incognito --kiosk https://itrig.de/kiosk

Autostart Delay

A startup delay would be implemented using the script chromium_start.sh.

#!/bin/bash
# Chromium startup delay
sleep 15
chromium-browser --incognito --kiosk https://itrig.de/kiosk

Call this script in /home/pi/.config/lxsession/LXDE-pi/autostart.

@/home/pi/chromium_start.sh

PS: Don't forget to grant permission with chmod +x.

Autostart Path under Raspbian Buster

/etc/xdg/lxsession/LXDE-pi/autostart

Last updated