New version of Raspberry Pi OS based on Debian Bookworm is using labwc as desktop manager instead of X11 or Wayfire. So the procedure to autostart a program based on X11 (lxsesion/autostart) or (Wayfire.ini) will not work on this edition.
This is the procedure to launch Chromium browser automatically at startup.
Edit ~/.config/labwc/autostart using nano or create it if it not exists:
nano ~/.config/labwc/autostart
And add this line:
/usr/bin/lwrespawn chromium-browser --app=http://yoururlhere --kiosk --start-fullscreen --start-maximized --fast --fast-start --no-first-run --noerrdialogs --disable-translate --disable-notifications
The operator ‘@’ is not supported on labwc, so /usr/bin/lwrespawn is needed instead. All addicional parameters passed to chromium browser indicates full screen mode (kiosk), notifications, fast start…
It worked for me after struggling a lot trying with lxsession and wayfire.ini without succes. And of course it was not working, simply was not used.
Leave a Reply