Is it possible to adjust desktop monitor brightness like on laptops?
Yes all desktop monitors have separate menu for it.
But is it possible to change this to something like Winkey+(F1..F12)?
Monitor is connected via VGA or DVI cable.
- OS: Ubuntu 14.04
- Desktop monitors
Best Answer
With the script below, you can set the screen's brightness from
0.1
to1.0
, in 9 steps, on any system that "obeys"xrandr
.Just run it with either the argument "up" or "down" to increase/decrease the current brightness one step.
The script
How to use
set_brightness.py
Test- run it by the commands:
and
If all works fine, add both commands to shortcut keys: choose: System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Click the "+" and add both commands above to two different shortcut keys.
Explanation
The explanation on the code is pretty much in the script :)
Notes
As it is, the scripts sets the brightness equally for both the "main" and possible additional screen(s).