A daemon which reads values from the (ACPI-based) Ambient Light Sensor, then sets the screen brightness accordingly using information from the built in response table (\_SB.ALS._ALR
). It is not very configurable at the moment.
When the brightness is adjusted manually, the daemon takes this into account. In the future, the daemon will instead accept communication of manual brightness adjustments over a named pipe and adjust its internal state accordingly.
sudo amblightd
It must be run as root. (or a user who can write to and read from /proc/acpi/call
and your backlight file, and can read from /sys/bus/acpi/devices/ACPI0008:00/iio:device0/in_illuminance_input
)