xaqq / brightness-control

Python script to fix brightness control (needed on my Optimus system)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brightness-control

Python script to fix brightness control.

On some Optimus sytem, graphical tools to control brightness will write to /sys/class/backlight/acpi_video0/brightness. However, this isn't always the file that really controls the brightness.

This script is here to act as a bridge and to forward brightness update to the correct file.

How to use

Just make brigthnessd.py autostart.

Systemd instruction: Copy the brightnessd.py somewhere on your system. Edit the brightnessd.service file so that ExecStart points to the correct file. Then enable the service: systemctl enable brightnessd.

About

Python script to fix brightness control (needed on my Optimus system)

License:GNU General Public License v3.0


Languages

Language:Python 100.0%