How to change the Monitor brightness on Linux?

前端 未结 9 540
离开以前
离开以前 2020-12-24 07:38

How do I programmatically change the monitor brightness on Linux?

I\'m using SLES 11.

相关标签:
9条回答
  • 2020-12-24 08:29

    You might look into using xgamma. Although it's not pure code, at least it's just a command line utility.

    0 讨论(0)
  • 2020-12-24 08:30

    You can always use

    xrandr --output LVDS1 --brightness 0.9
    
    0 讨论(0)
  • 2020-12-24 08:31

    Here is the simple step to control brightness in Linux based system

    First, you have to know the monitoring screen connected you.

    To know this run this command

    xrandr -q
    

    It will give useful information about the screen

    ( Here my screen connected to eDP, It might be different for your system )

    After knowing that run the below command

    xrandr --output eDP --brightness [0-10]

    Replace eDP by your connected screen from the above output.

    you can choose normal brightness values from 0.1 to 1.0

    0 讨论(0)
提交回复
热议问题