Skip to content

sdlins/screen-brightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Bright

Increases or decreases the screen brightness

How to config

  1. Download or clone this repo;
  2. Exec chmod +x bright;
  3. Move bright to your path: sudo mv path/to/bright /usr/local/bin

IMPORTANT! You must execute sudo chmod o+w /sys/class/backlight/intel_backlight/brightness so that you can use this script without super user privileges.

How to use

  • bright up will increase the screen brightness 5%.
  • bright down will decrease the screen brightness 5%.

NOTES

  • This was tested only for my personal needs (Ubuntu 18.04) since my new wireless keyboard has no function keys to control brightness. With this script, I was able to set new shortcuts to increase and decrease it.
  • This script changes /sys/class/backlight/intel_backlight only. If you need to change dell_backlight or something else maybe you could adapt this.

About

Increases or decreases the screen brightness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages