=========================================
The ``backlight`` program is a commandline interface to adjust your linux lcd
panels brightness through the linux kernel sys interface
.. contents::
:local:
Installation
------------
The ``sys_backlight`` package is written in Python and is
available on PyPI_ which means installation should be as simple as::
$ pip install sys_backlight
Getting started
---------------
The ``sys_backlight`` package can be configured with a configuration file
in the ini format. Here is a example of a config file:
.. code-block:: ini
# Default variables
[DEFAULT]
StepRelative = 2
StepAbsolute = 10
MinBrightness = 2
MaxBrightness = 100
The configuration file is loaded from the following location:
- ``~/.conf/backlight.ini``
The structure of the configuration file is as follows:
- The ``[DEFAULT]`` section has four items, all of which are optional
(``StepRelative``, ``StepAbsolute``, ``MinBrightness``, and ``MaxBrightness``).
- Currently two types of brightness control are supported:
1. The physical brightness of the backlight of laptop screens. This uses
the Linux sysfs_ virtual file system's `/sys/class/backlight`_ interface
to control backlight brightness. The only required item is
``sys-directory`` which is expected to contain the absolute pathname of
the directory that controls the backlight brightness of your laptop
screen (you'll have to figure this out for yourself).
Contact
-------
The latest version of ``sys_backlight`` is available on PyPI_
and GitHub_. For bug reports please create an issue on GitHub_. If you have
questions, suggestions, etc. feel free to send me an e-mail at
`hamgom95@gmail.com`_.
License
-------
This software is licensed under the `MIT license`_.
© 2017 Kevin Thomas
.. External references:
.. _/sys/class/backlight: https://www.kernel.org/doc/Documentation/ABI/stable/sysfs-class-backlight
.. _GitHub: https://github.com/hamgom95/sys_backlight
.. _Linux: http://en.wikipedia.org/wiki/Linux
.. _MIT license: http://en.wikipedia.org/wiki/MIT_License
.. _peter@peterodding.com: mailto:hamgom95@gmail.com
.. _PyPI: https://pypi.python.org/pypi/sys_backlight
.. _sysfs: http://en.wikipedia.org/wiki/Sysfs
Metadata
Release files for sys-backlight 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sys_backlight-0.1.tar.gz | 6.2 kB | Without provenance | Details for sys_backlight-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sys_backlight-0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for sys_backlight-0.1-py2.py3-none-any.whl |
Total release size: 14.0 kB
Release files / sys_backlight-0.1.tar.gz
| Download URL | sys_backlight-0.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8793095006ce643c5b78e65c7338b3c77dd8b383ae0e54baa90b5781189f4a2
|
|
BLAKE2b-256 checksum How to use checksums |
66132dadb02effe30caa5c2039306cc8387fb6179d81f0f27e81a02dfc7827e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sys_backlight-0.1-py2.py3-none-any.whl
| Download URL | sys_backlight-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
438f7f1b84e4e24b52509da24a833fb63dd9f5bae1c755d4158ff543a914987a
|
|
BLAKE2b-256 checksum How to use checksums |
e8c336010bddf76d766883922e9cff99b0fc696a90d683742893cf21629f6e01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sys-backlight 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.