alright, wayland nerds. I have a question for you:

I am on Debian 13. I want to have an cronjob that turns off the monitor at midnight and turns it back on at 6:30AM.

I know how to make a cronjob, but what command do I use to turn on and off the display?

#wayland #linux #foss

Follow

@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: gitlab.gnome.org/GNOME/mutter/

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml