Have a Raspi 5 connected to a Waveshare 10.1" touchscreen. System is set to auto boot to my home assistant in the browser via chromium using the following command in the file:
I've configured to enable the "screen saver" setting.
The screen will blank as long as I am not in the browser (i.e. if I kill the browser and return to desktop), however as long as the browser is open (in Kiosk mode?), it wont blank.
Edit: I found that using --start-fullscreen instead of --kiosk allows the screen to sleep, however this solution allows users to right-click (by two-finger-tapping the screen) and then exit fullscreen, granting access to the desktop environment, and I need to either disable this option or get kiosk mode to work (need to double check that it actually prevents right click).
Code:
/etc/xdg/labwc/autostart
Code:
chromium-browser "http://homeassistant:8123" --kiosk --noerrdialogs --disable-infobars --no-first-run --enable-features=OverlayScrollbar --start-maximized
Code:
raspi-config
The screen will blank as long as I am not in the browser (i.e. if I kill the browser and return to desktop), however as long as the browser is open (in Kiosk mode?), it wont blank.
Edit: I found that using --start-fullscreen instead of --kiosk allows the screen to sleep, however this solution allows users to right-click (by two-finger-tapping the screen) and then exit fullscreen, granting access to the desktop environment, and I need to either disable this option or get kiosk mode to work (need to double check that it actually prevents right click).
Statistics: Posted by cbrngrz — Thu Feb 27, 2025 10:14 pm