My first experience in wayland, us discovering I couldn’t control monitor sleep/standby function. I found how to reinstall X and managed to escape it since.
That sounds like problem with specific software configuration, like missing packages in some distro or something being badly built. There’s nothing about Wayland that would prevent it from working.
Wayland is not a standalone server like Xorg and it doesn’t have standard utilities to control stuff like DPMS. That functionality goes to compositors that are effectively individual Wayland server implementations. Compositors can provide utilities to control display, and they usually do. For example, on KDE Wayland you can call kscreen-doctor --dpms off, wlroots compositors (Sway, Wayfire, Hyprland,…) have inter-compatible tools, like swaymsg output DP-1 dpms off. If that’s what you meant anyway.
There really should be a front end script that has uniform command line parameters, finds what your compositor is, translate the command line arguments and send them.
I dont know what that means. Normally the monitor turns off when the PC stops sending a signal. In KDE i can easily configure when to dim, turn off, lock etc. the screen.
?
My first experience in wayland, us discovering I couldn’t control monitor sleep/standby function. I found how to reinstall X and managed to escape it since.
That sounds like problem with specific software configuration, like missing packages in some distro or something being badly built. There’s nothing about Wayland that would prevent it from working.
Tried xset, not compatible. Tried searching equivalent command, there was none. That was in 2022.
Wayland is not a standalone server like Xorg and it doesn’t have standard utilities to control stuff like DPMS. That functionality goes to compositors that are effectively individual Wayland server implementations. Compositors can provide utilities to control display, and they usually do. For example, on KDE Wayland you can call
kscreen-doctor --dpms off
, wlroots compositors (Sway, Wayfire, Hyprland,…) have inter-compatible tools, likeswaymsg output DP-1 dpms off
. If that’s what you meant anyway.There really should be a front end script that has uniform command line parameters, finds what your compositor is, translate the command line arguments and send them.
I dont know what that means. Normally the monitor turns off when the PC stops sending a signal. In KDE i can easily configure when to dim, turn off, lock etc. the screen.
I needed to do that from the console, xset didn’t work. As far as I could tell there was no other command.
What did you want to do?
A command to place the monitor in standby mode
What does this mean? Like unplugging without unplugging? Keeping one screen active and only turning off the other one?
I mean in the KDE monitor options I can choose [mirror,extend to left,extend to right,only external,only internal] so this is 100% possible.
Something like that yes, I want to turn off the side monitors with a single button press.
This will be possible and likely available as a command for your specific compositor. What are you using?