How do I programmatically change the monitor brightness on Linux?
I'm using SLES 11.
If possible, you should set the brightness using the hardware. That way the brightness control of gnome can set the brightness of external monitors as well. Rather than plugging in a brightness level for xrandr you can use this bash script to adjust the brightness up or down in steps.
To change the brightness on an external monitor, use the buttons on it. The Brightness slider appears in action center in Windows 10, version 1903. To find the brightness slider in earlier versions of Windows 10, select Settings > System > Display, and then move the Change brightness slider to adjust the brightness.
You can always use
xrandr --output LVDS1 --brightness 0.9
You can try using xbacklight.
xbacklight -set 100
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With