Hello all. I don't post to forums very often so I apologize in advance if I'm not posting in the correct place or if I'm lacking some information. I'll try to include as many details as I can. Okay, so I'm trying to accomplish a task that should be exceedingly simple. The Pi I'm using is a Pi 5 8GB with a 128GB SD card. I'm using the latest iteration of Raspberry Pi OS 64-bit (Bookworm). I've made no configuration changes other than enabling SSH and VNC. I'm trying to launch Chromium and bring up a specific site when the desktop environment is started. I wrote a very simple script to accomplish this and I have added execute permissions to the script and verified it works when executed manually. Below is an example of my script, called kiosk.sh
Script Example:
sleep 4
/bin/chromium --kiosk --start-maximized --ozone-platform=wayland --noerrdialogs --disable-infobars --enable-features=OverlayScrollbar https://www.google.com &
So to get this to execute automatically on startup I need to edit the ~/.config/wayland.ini file by adding an [autostart] section and point to my script below. Very simple. The problem is the file doesn't seem to exist. My guess is either something isn't installed that I need or the file has been moved somewhere very recently in an update and I don't know where to find it. Below is the ls output from within the ~/.config directory
chromium kanshi lxterminal mimeapps.list pulse user-dirs.dirs user-dirs.locale wf-panel-pi.ini
No wayland.ini to be seen. Any help would be appreciated. Alternative methods to accomplish the same goal are also welcome. I simply need Chromium to launch in full screen kiosk mode on boot of the desktop environment. Thanks.
Script Example:
sleep 4
/bin/chromium --kiosk --start-maximized --ozone-platform=wayland --noerrdialogs --disable-infobars --enable-features=OverlayScrollbar https://www.google.com &
So to get this to execute automatically on startup I need to edit the ~/.config/wayland.ini file by adding an [autostart] section and point to my script below. Very simple. The problem is the file doesn't seem to exist. My guess is either something isn't installed that I need or the file has been moved somewhere very recently in an update and I don't know where to find it. Below is the ls output from within the ~/.config directory
chromium kanshi lxterminal mimeapps.list pulse user-dirs.dirs user-dirs.locale wf-panel-pi.ini
No wayland.ini to be seen. Any help would be appreciated. Alternative methods to accomplish the same goal are also welcome. I simply need Chromium to launch in full screen kiosk mode on boot of the desktop environment. Thanks.
Statistics: Posted by drake999 — Tue Nov 05, 2024 3:15 pm