Files
reterminal-dm4/emmc-provisioning/cloud-init/config-files
nearxos 2d6e5aa009 Enhance GTK theme configuration and taskbar setup in cloud-init scripts</message>
<message>Update the cloud-init scripts to improve GTK theme settings by enforcing dark mode through gsettings and preserving the icon theme for a cohesive user experience. Additionally, enhance the first-boot script to install a Chromium kiosk launcher icon on the desktop and in the application menu, along with a five-tap close functionality for Chromium. These changes streamline the user interface and ensure a consistent dark theme across applications and the taskbar.
2026-02-23 15:07:31 +02:00
..

Config files for first-boot (file server)

first-boot.sh downloads these from FILE_SERVER (e.g. http://10.20.50.1:5000/files/first-boot) and installs them to the paths below. Upload each file into the first-boot subfolder of portal-files (e.g. /var/lib/cm4-provisioning/portal-files/first-boot/).

File on server Destination on device
chromium-kiosk.desktop /home/pi/.config/autostart/chromium-kiosk.desktop (with start-chromium.sh)
99-wallpaper.conf /etc/lightdm/lightdm.conf.d/99-wallpaper.conf
99-default-session.conf /etc/lightdm/lightdm.conf.d/99-default-session.conf (rpd-labwc)
maliit-keyboard.desktop /home/pi/.config/autostart/maliit-keyboard.desktop
01-set-rotation-once.desktop /home/pi/.config/autostart/01-set-rotation-once.desktop (with 01-set-rotation-once.sh; writes kanshi config + dark theme)
02-set-wallpaper-once.desktop /home/pi/.config/autostart/02-set-wallpaper-once.desktop (with 02-set-wallpaper-once.sh). Wallpaper is also set during first-boot via pcmanfm.
wf-panel-pi.ini Optional: /home/pi/.config/wf-panel-pi/wf-panel-pi.ini (custom taskbar layout and css_path). See TASKBAR-THEME.md.
panel-theme.css Optional: /home/pi/.config/wf-panel-pi/panel-theme.css (custom taskbar CSS). Deploy with wf-panel-pi.ini; see TASKBAR-THEME.md.
gtk.css /home/pi/.config/gtk-3.0/gtk.css (user GTK3 override; forces start menu dropdown and all menus/popovers to full dark).
chromium-kiosk-launcher.desktop Desktop icon + application menu: "Start Chromium Kiosk" (run start-chromium.sh when browser was closed).
five-tap-close-chromium.desktop /home/pi/.config/autostart/ (with five-tap-close-chromium.py). 5 taps in top-right corner close Chromium.