Auto Adjust Brightness On Ubuntu 16.10 Using Systemd

This works on ubuntu 16.10

Create a file brightness.service in /lib/systemd/system with the following contents(Change 100 to whatever brightness you want, roughly it’s between 0 ~ 1000).

1
2
3
4
5
6
7
8
[Unit]
Description=Lower default brightness

[Service]
ExecStart=/usr/bin/zsh -c "echo 100 > /sys/class/backlight/intel_backlight/brightness"

[Install]
WantedBy=multi-user.target

Enable it.

1
sudo systemctl enable brightness.

Restart. It will work.

Share