Adaptive brightness service for laptops running linux with KDE 6 desktop.
The project serves the purpose in the absense of native support in KWin/PowerDevil, which is being worked on: #21, #572, #5876
- Minimal number of dependencies
- Requires ambient light sensor (ALS)
- Efficient, utilizes sensor signals via dbus (no sensor polling)
- Uses bucketed brightness levels similar to ones in windows 11
- Runs unpriviledged
- Allows end-user to set brightness to the liking (offsetting adaptive brightness)
- Tested with Fedora 40-42, KDE Plasma 6.2-6.4
Make sure your device has ALS sensor before proceeding with setup, eg. by running monitor-sensor from terminal.
Check packages below are installed (should be pre-installed in most distros)
sudo dnf install iio-sensor-proxy python3-pip python3-dbus gitpip install --user git+https://github.com/dmy3k/als-autobrightness.git@main
autobrightnesscli --default-systemd-cfg > ~/.config/systemd/user/autobrightness.service
systemctl --user enable --now autobrightnesspip install --user --upgrade git+https://github.com/dmy3k/als-autobrightness.git@main
systemctl --user restart autobrightnesssystemctl --user disable --now autobrightness
rm ~/.config/systemd/user/autobrightness.service
pip uninstall autobrightnessPlease attach related logs when creating a bugreport.
systemctl status iio-sensor-proxy.service
systemctl --user status autobrightness
journalctl --user -u autobrightness