CM3-Panel-7-basic technical documentation

How to configure the CM3-PANEL-7-BASIC as 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 -y install chromium-browser xorg

Create a systemd file to launch Chromium at startup:

sudo nano /lib/systemd/system/chromium.service

Insert this content changing http://localhost:1880/ui with the url you want to open after the boot.

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

[Service]
ExecStart=/usr/bin/xinit -bg black -fg black -geometry 132x36 -e "runuser pi -c 'chromium-browser --incognito  -kiosk --check-for-update-interval=300000000 --disable-pinch --overscroll-history-navigation=0 --window-position=0,0 --window-size=800,480 http://localhost:1880/ui'" -- -nocursor -s 0 -dpms
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

Links

Sergio Tanzilli
System designer, webmaster and Acme Systems co-founder
Personal email: tanzilli@acmesystems.it
Webpages: https://www.acmesystems.it - https://www.tanzolab.it
Github repositories: https://github.com/tanzilli and https://github.com/acmesystems
Telegram group dedicated to the Acme Systems boards: https://t.me/acmesystemssrl

CM3-Panel-7-basic technical documentation