Salamek / chromium-kiosk

Chromium kiosk is simple package turning your Archlinux or Debian (and alike) based PC/Raspberry into simple web kiosk using chromium.
GNU General Public License v3.0
60 stars 10 forks source link

Use systemd to start chromium-kiosk instead of .xinitrc? #61

Closed Salamek closed 2 years ago

Salamek commented 2 years ago
[Unit]
Description=Chromium Kiosk
Wants=graphical.target
After=graphical.target

[Service]
Environment=DISPLAY=:0.0
Environment=XAUTHORITY=/home/$USER/.Xauthority
Type=simple
ExecStart=chromium-kiosk run --config_prod --log_dir=/home/$USER
Restart=on-abort
User=chromium-kiosk
Group=chromium-kiosk

[Install]
WantedBy=graphical.target
Salamek commented 2 years ago

Nah, has some issues... maybe later with wayland...