Dev doc index Buy

How to configure a Chromium Kiosk

This how-tos explains how to create a simple Chromium Kiosk with the minimal amount of software installed

Create a Rasbian lite microSD following this article: https://www.acmesystems.it/CM3-PANEL_microsd

Install the following packages:

sudo apt-get update
sudo apt-get install chromium-browser
sudo apt-get install xorg

Create the systemd file to launch Chromium at startup: /lib/systemd/system/chromium.service. Change myurl with the url you need to open at startup.

[Unit]
Description=Launch Chromium
After=systemd-user-sessions.service

[Service]
ExecStart=/usr/bin/xinit -bg black -fg white -geometry 132x36 -e "runuser pi -c 'chromium-browser --incognito  -kiosk --window-position=0,0 --window-size=800,480 http://myurl'"
Restart=on-abort
User=root
WorkingDirectory=/home/pi

[Install]
WantedBy=multi-user.target

Enable the new service

sudo systemctl daemon-reload
sudo systemctl enable chromium

Reboot or launch the service by hand now:

sudo systemctl start chromium

Sergio Tanzilli
System designer and Acme co-founder
Personal email: tanzilli@acmesystems.it
Webpages: https://www.acmesystems.it - https://www.tanzolab.it - http://www.tanzilli.com
Github repositories: https://github.com/tanzilli and https://github.com/acmesystems

Dev doc index Buy

Bruna Mandolino