Skip to content

ipselium/plight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introducing plight

Pypi Package Licence

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages