Last active
February 3, 2017 20:13
-
-
Save bartcubbins/0f153803e730293cd62def7de980442d to your computer and use it in GitHub Desktop.
ubuntu brightness
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
| I was able to get my brightness keys working on my Lenovo W530 on Ubuntu 12.04. | |
| These days X automatically configures itself, so creating an xorg.conf file might make your system inflexible. Instead you can add a section to a file in /usr/share/X11/xorg.conf.d/ and X will include that section in the configuration that it automatically generates. | |
| So to get the screen brightness keys working with your Nvidia graphics card, create a file in the xorg.conf.d directory, e.g: | |
| sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf | |
| Paste the following into the file: | |
| Section "Device" | |
| Identifier "Device0" | |
| Driver "nvidia" | |
| VendorName "NVIDIA Corporation" | |
| BoardName "Quadro K1000M" | |
| Option "RegistryDwords" "EnableBrightnessControl=1" | |
| EndSection | |
| Log out and log back in, or reboot, and your brightness keys should now work! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment