I’m having trouble with what to do with my Reform when I’m not using it. Suspend is too unreliable for now (see Investigate Sleep/Hibernate/Wake (#8) · Issues · Reform / reform · GitLab) so I’ve installed xfce4-screensaver which blanks the screen when idle. Unfortunately it does not turn off the display backlight.
Has anyone found a manual way to control the display backlight? I don’t even really need it to be triggered on idle; I could just bind one key to enable it and one to disable it and it would still be a big improvement over what I’m doing now.
You can use swayidle to do it for you, but I’d imaging xfce4 to be doing the same thing.
Assuming you use sway - what happens if you do swaymsg "output * dpms off" - does it turn backlight off or just dims the brightness to 0?
I just tested this, and it sets /sys/class/backlight/backlight/bl_power to 4. It does not change the brightness.
It also does something else as writing 0 to bl_power doesn’t turn the backlight back on. Keyboard input or moving the mouse cursor doesn’t either, but swaymsg "output * dpms on works.
I don’t have Xorg installed anymore, but I remember xset dpms force off doing something similar, but moving the mouse or key input would turn the screen back on.