minus-squaregartheom@lemmy.worldtoLinux@programming.dev•Is there a way to turn on the screen programmatically in Wayland (KDE Plasma 6)?linkfedilinkarrow-up2·1 day agoI use this in a cronjob to turn a raspberry pi screen off at night and back on in the morning: wlr-randr --output "HDMI-A-1" --off wlr-randr --output "HDMI-A-1" --on I’ve also go this environment variable set but I don’t know if it is needed outside of cron: XDG_RUNTIME_DIR=/run/user/1000 linkfedilink
I use this in a cronjob to turn a raspberry pi screen off at night and back on in the morning:
wlr-randr --output "HDMI-A-1" --offwlr-randr --output "HDMI-A-1" --onI’ve also go this environment variable set but I don’t know if it is needed outside of cron:
XDG_RUNTIME_DIR=/run/user/1000