Skip to content

Gleek/linux-brightness-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux-brightness-hack

Scripts to change brightness in a X-windows system. Find detail in http://gleek.github.io/blog/2014/03/04/fixing-brightness/

###Usage### #####brchange.sh#####

  • To increase brightness sudo brchange.sh inc. This will increase the brightness by 10%.
  • To decrease brightness sudo brchange.sh dec . This will decrease the brightness by 10%.
  • To run it automatically add the script in /etc/sudoers (Refer to blog for details).
  • Run it with gnome-terminal -x bash -c "sudo /path/to/brchange.sh inc" or gnome-terminal -x bash -c "sudo /path/to/brchange.sh dec"

#####setbright.py#####

  • Use python /path/to/script 1 to increase brightness by 10%.
  • Use python /path/to/script 0 to decrease brightness by 10%.

#####xrandr_tweak.sh#####

  • Use xrandr_tweak.sh 1 to increase brightness by 10%.
  • Use xrandr_tweak.sh 0 to decrease brightness by 10%.

About

Scripts to change brightness in a X-windows system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published