fw13-auto-brightness is a system for automatic laptop screen brightness control based on ambient light sensor data.
- AutoBrightnessIluminance — a C++/DBus daemon running in the background and managing screen brightness.
- AutoBrightnessUI — a Qt-based application for configuring the daemon parameters through a graphical interface.
fw13-auto-brightness
├── demon/ # sources of AutoBrightnessIluminance
├── ui/ # sources of the Qt UI (AutoBrightnessUI)
├── installer/ # installer, configs, icons, .desktop/.service files
└── README.mdThe project was originally developed on Arch Linux (KDE Plasma).
The daemon uses systemd/*.h for DBus/systemd integration.
The UI is built on top of Qt6.
For a full list of required libraries, check demon/CMakeLists.txt and ui/CMakeLists.txt
Requirements:
- CMake ≥ 3.10
- Qt6 (Core, Widgets, DBus, Charts, Svg, Concurrent)
- systemd headers/INIReader
#UI
cd ui
mkdir build && cd build
cmake ..
make
./AutoBrightnessUI
#SERVICE
cd demon
mkdir build && cd build
cmake ..
make
./AutoBrightnessIluminance
cd installer
sudo ./i.sh /opt
The script will:
- Copy files to /opt/autobrightnessiluminance
- Install autobrightness.desktop and autobrightness.service
- Automatically start the daemon via systemd
Note: the daemon starts immediately after autobrightness.service is installed!service!
Planned:
- Add more settings to the UI
- Extend support for other DEs (Gnome, XFCE)
- Test across different laptops
- Name: Tymofii
- GitHub: Ch-Tima
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0)
See the LICENSE file for details.
