Skip to content

amethystdice/Backlight-Ctrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

Do not install or try this tool, it's a work in progress and most of all it's my first project so be warned. This tool modifies basic system components and it may cause damage if used improprely or even proprely.

Also the brightness resets after each boot, this is by design and kind of a safety feature

About

This tool will change the brightness of the screen via command line. It only works if your device uses the "intel_backlight or amdgpu_bl1".

Installation

Navigate to the root directory of the program intel-backlight-control/. First you will need to compile it. To do that you need to install gcc and make. If your distribution uses a package manager different that apt like dnf use it's equivalent command:

sudo apt install gcc make 

now you can install the program

make install # compile and install

You can now run one of the following commands:

backlight-ctrl      # check the current brightness and it's max and min setting 
backlight-ctrl 125  # change the brightness to a value
backlight-ctrl %50  # set the brighness with a percentage
backlight-ctrl min  # this command will """turn off""" the screen.
backlight-ctrl max  # this command will make the screen the brightest it can go

How to uninstall

If you wish to uninstall the program you just need to run:

make uninstall

Other use cases

If you wish to use the program without installing it into your system you can run this command and access the executable directly instide the bin/ directory.

make #compile the program
./bin/backlight-ctrl # run the program from the main directory

./bin/backlight-ctrl # run the program from the main directory

About

Tool to quickly manage screen brightness on devices that use "intel backlight"

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors