Brightness

2020-01-25 16:17

If you've got a NetBSD laptop that has adjustable brightness, then this script might be of interest ot you. Put it in /etc/rc.d/ and set acpi_brightness=YES into your rc.conf and it will remember the last britghtness setting if your ACPI output. If your system declares a different sysctl name, you can change that by setting acpi_brightness_name in your rc.conf file.

Update:

I received a report that it doesn't work as expected, so I've moved the script that used to be inline here to VCS so that I can fix it when I have some energy.

Check out updates there.

Staffan