Screen backlight adjustment
Project description
plight allows screen backlight adjustment.
Install
To install plight:
pip install plight
or clone the repo and:
python setup.py install
You must allow users in the video group to change the brightness, a udev rule such as the following can be used:
/etc/udev/rules.d/backlight.rules
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="acpi_video0", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="acpi_video0", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
where acpi_video0 must be replaced by the right directory. Then add user to video group:
gpasswd -a user video
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plight-0.0.1.tar.gz
(3.0 kB
view hashes)