Skip to content

a python script to control my laptop brightness because the software nor hardware keys will do it.

Notifications You must be signed in to change notification settings

jacobcalvert/brightness_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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.

Basic usage

brightness_tool [set|get|inc|dec] arg0

Examples

  • '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%)

How to install

Download the file, copy it to /usr/local/bin/brightness_tool and make it executable. (chmod +x /usr/local/bin/brightness_tool)

About

a python script to control my laptop brightness because the software nor hardware keys will do it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages