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
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".
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 installYou 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 goIf you wish to uninstall the program you just need to run:
make uninstallIf 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