Skip to main content

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

Metadata

Release files for plight 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plight 0.0.1
File Size Uploaded
plight-0.0.1.tar.gz 3.0 kB Details

Release files / plight-0.0.1.tar.gz

Download URL plight-0.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5ec73d143b4404f6b9f4515f6b60c86d0042bbd05db5feafbb646f6f59a22dbe
BLAKE2b-256 checksum
How to use checksums
2347f682d6b357ce50395dd6411913b3a61618940169504513183de7ff1af377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page