@domo That's not a "Wayland question", that's "<your DE> question".
On Plasma, there's `kscreen-doctor`.
On Phosh, Sway, Wayfire and some others, there's `wlr-randr`.
On GNOME I don't think there's a tool supplied, but there's at least Mutter's DBus API that can be utilized: https://gitlab.gnome.org/GNOME/mutter/-/blob/main/data/dbus-interfaces/org.gnome.Mutter.DisplayConfig.xml
@domo If you're running it remotely you have to point it to Wayland display you want it to operate on - what it tells you is that it tried to use X11 platform as a fallback and couldn't. Use `WAYLAND_DISPLAY=wayland-0` or even just `-platform wayland` parameter, as it will default to wayland-0 anyway.
@dos fuck yeah!
# turns the screen on
kscreen-doctor -platform wayland --dpms on
# turns the screen off
kscreen-doctor -platform wayland --dpms off
You are an ADHD life saver! My only other option if this didn't work was to put the monitor on a smart outlet, control it via home assistant and just hope I never shorted the monitor permanently. This kicks so much more ass though. Thank you!