Page 1 of 1

7inch HD screen off/backlight brightness control in Debian Bookworm

Posted: 2024-10-20 13:52
by benjmark
I've tried various ways to control screen brightness and standby/screen off in Raspberry OS (based on Debian Bookworm), but without luck.

Is there a proven way to turn the screen on/off via dpms for example or to control backlight from the OS without hardware additions?

Re: 7inch HD screen off/backlight brightness control in Debian Bookworm

Posted: 2024-11-04 7:31
by Luckfox Taylor
Hello,
In the Bookworm system, you can try using the following commands to turn the screen off/on:

Code: Select all

WAYLAND_DISPLAY="wayland-1" wlr-randr --output HDMI-A-1 --off  
WAYLAND_DISPLAY="wayland-1" wlr-randr --output HDMI-A-1 --on  
Note: Replace HDMI-A-1 with your device's name. If you're not sure what your device's name is, you can find it using the following command:
To display information about connected devices:

Code: Select all

kmsprint | grep Connector  
Note: If you run this command without SSH, you don’t need to add the prefix WAYLAND_DISPLAY=wayland-1.