This is version 2.4 of Brightness Controller for Linux. It supports an arbitrary number of displays and also allows changing the color temperature across displays!
If you like this, do not forget to give us a Star! That's the only way we can estimate whether people are using it or not since we do not collect any data, at all. People already did!
First install ddcutil
and xrandr
using your distro package manager.
pip install brightness-controller-linux
Requires at least python3.8
or above, and PyQt5
or above. This installation method is fairly new, so will really appreciate if you let us know if everything is working as intended or not at your end. :)
Thanks to package maintainer @apandada1, we have PPA repository For Ubuntu and likewise users:
sudo add-apt-repository ppa:apandada1/brightness-controller
sudo apt update
sudo apt install brightness-controller
Thanks to @yochananmarqos, a package for Arch and derivatives is available in the AUR.
yay -S brightness-controller-git
Want to look at source code? Want to get started? Or want to download the source code and run it from there after building things yourself? Details are available right here!
The following features are implemented:
- Brightness Control
- Saving color profile
- Loading color profile
Brightness Controller changes Red, Green and Blue color ratios in the screen through color profile at software level using xrandr
.
We might implement the following features in the future:
- Rewriting GUI to integrate both Brightness Controller simple and normal
- Auto-loading of color and brightness settings based on profile
- Checking for update
We work on this in our spare time, so can not really promise when the v3 will be released. The current version available is stable and should work as intended.
Please test v2.4. Reporting bugs is appreciated.
Wayland does not provide a way to control the brightness of primary/external displays, so Brightness Controller won't work. It has been reported several times, and we are aware about it. Really, it is out of our hands.
This is something we keep getting notified about, but do not consider as a bug. Here is why.
Brightness is a shared property that can be accessed by any number of applications e.g., Brightness Controller, Adaptive Brightness of Ubuntu/Linux, Night Shift, f.lux, and looks like Skype too).
If any of the other, aggressive apps choose not to play nice and override existing brightness settings, Brightness Controller really can not gatekeep them away. Sure, we can think of a way that will result in Brightness Controller forcibly setting Brightness every 5 seconds or so, but that'd just result in a tug of war later on with an arbitrary number of applications trying to control Brightness (with unpredictable side effects).
The simpler solution is just to disable the brightness resetting function of the aggressive app instead.
Try version 1.2.8/simpler version of Brightness Controller. It was written in Python2, which has been deprecated, and some of its dependencies (e.g. WxGTK for Python2) are not available in recent versions of Ubuntu. It is only available for Ubuntu 20.04 and previous versions.
To install, simply do this:
sudo add-apt-repository ppa:apandada1/brightness-controller
sudo apt-get update
sudo apt-get install brightness-controller-simple
Further details are available here
Please note that the simple version may not work properly in newer versions of Linux. Unfortunately we can not provide any more updates to the simple version.