in Linux

How to Permanently adjust screen brightness in Peppermint OS 5

My Dell laptop that running Peppermint OS 5 getting better each day. It can detect my wifi card and purge old one and that feature brought my brother in after frustrated for days with his Windows.

Another thing that I realize still need some work is brightness level. I must adjust brightness every time I restart my computer.

My current setting

$ cat /sys/class/backlight/acpi_video0/max_brightness
100
$ cat /sys/class/backlight/acpi_video0/actual_brightness
6

Yes, 6 is my preference level.

After look around I got the solution :

sudo add-apt-repository ppa:nrbrtx/sysvinit-backlight
sudo apt-get update
sudo apt-get install sysvinit-backlight

To check current brightness level using this script :

$ sudo service sysvinit-backlight status
status
Current brightness level for acpi_video0 = 6
Current brightness level for intel_backlight = 55

Well, good guess 🙂

Permanently save setting :

$ sudo service sysvinit-backlight stop
save
Saving acpi_video0 = 6
Saving intel_backlight = 55

Nice.

Try restart my computer and it work perfectly 🙂