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

  • 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.