A simple brightness control frontend for brightnessctl.
What does it do
This program interfaces with the
brightnessctl terminal tool to allow changing the brightness of the screen by controlling its backlight.
- First install brightnessctl.
userswho will run
videogroup. Do this by executing
sudo usermod -a -G video USERNAMEfrom the terminal for each user, replacing USERNAME with your desired
- Then download simplebrightness from this repository.
- Extract the downloaded files on your computer.
- Make sure that
simplebrightnessis marked as an executable. You can run
chmod +x ./simplebrightnesson the terminal, from inside the extracted folder to make it an executable.
simplebrightness(simple double click on the script or run it from a terminal).
About the code
Simple Brightness is written in Python 3, using Tk, and is licensed under the MIT License, the same license as brightnessctl.
Why did I write this
I was having trouble getting xbacklight to work in KDE Neon 5.15 and I needed a way to control the laptop’s brightness from the terminal. Brightnessctl did the work, but then I wanted a simple frontend to use in WindowMaker (my desktop of preference for saving battery and older machines). After being unable to find any frontends, I decided to create this one.
Comentarios por Javier O. Cordero Pérez