Created
July 18, 2012 22:22
-
-
Save rafamoreira/3139335 to your computer and use it in GitHub Desktop.
Brightness adjust for linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If the driver of your graphics card supports it, then you can use xrandr. | |
The following command lists the current configuration: | |
xrandr --current --verbose | |
If you want to change the configuration of an output, then you need the name of the output. This name is part of the output of xrandr --current, for example LVDS1. | |
The brightness can be changed like this: | |
xrandr --output <outputname> --brightness 0.8 | |
Gamma: | |
xrandr --output <outputname> --gamma 0.5:1.0:1.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment