gartheom@lemmy.worldto
Linux@programming.dev•Is there a way to turn on the screen programmatically in Wayland (KDE Plasma 6)?

8 months
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" --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
I’ve been playing a lot of expedition 33 lately. The steam deck can play it directly but I’ve been mostly streaming from my main desktop to my steam deck for better graphics.