CM Panel technical documentation Buy

How to configure the CM-Panel as a Chromium Kiosk

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

Create a Raspberry Pi OS microSD following this article: Make a Raspberry Pi OS microSD for CM-Panel BASIC

Install the following packages:

sudo apt update
sudo apt -y install chromium-browser xorg xterm

Create a systemd file to launch automaticaly the Chromium browser at startup:

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

Save this lines changing the url http://www.acmesystems.it 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 https://www.acmesystems.it'" -- -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


Products related

CM-Panel-Basic

Features Index Buy

All-in-one 7 inch touch WiFi terminal powered by Raspberry Pi CM4S
  • 7 inch TFT display 800x480
  • Capacitive touch
  • MIPI Camera connector
  • WiFi @ 2.4 GHz
CM-Panel-POE

Features Index Buy

All-in-one 7 inch touch POE terminal powered by Raspberry Pi CM4S
  • 7 inch TFT display 800x480 pixel
  • Capacitive touch
  • Embedded micro UPS for safe shutdown
  • Power Over Ethernet @ 10/100 Mbit
  • Hi-resolution audio up to 384KHz@32bit
  • Real Time Clock with backup battery
  • 3 USB Host port
  • 1 RS485/422/RS232 port
  • 1 Relay
  • MIPI Camera connector
  • WiFi @ 2.4 GHz (optional)
CM-Home

Features Index Buy

Home Automation board powered by Raspberry Pi CM4S lite module
  • Power-in @ 12 to 24VDC
  • Double opto-isolated RS-485 ports
  • 2 relays
  • 2 USB 2.0 host port
  • Ethernet port at 10/100Mbit
  • MIPI Camera connector
  • Stereo audio out on 3.5 mm jack

Home page CM Panel technical documentation Buy