This is a python utility to control the brightness on my HP Pavillion DV7 because the hardware buttons don't work nor does the software slider in Linux Mint 17.
brightness_tool [set|get|inc|dec] arg0
- 'brightness_tool set 10' will set the brightness to 10%
- 'brightness_tool inc 4' will increase the current brightness by 4%
- 'brightness_tool dec 12' will decrease the current brightness by 12%
- 'brightness_tool set max' will set the brightness to 100%
- 'brightness_tool set min' will set the brightness to 5%
- 'brightness_tool inc' will increase the current brightness by the default (10%)
- 'brightness_tool dec' will decrease the current brightness by the default (10%)
Download the file, copy it to /usr/local/bin/brightness_tool and make it executable. (chmod +x /usr/local/bin/brightness_tool)