descriptionSmall utility to set the backlight via sysfs
ownerJakob Haufe
last changeThu, 29 Nov 2018 09:02:54 +0000 (09:02 +0000)
readme

sysbacklight

sysbacklight is a tiny tool meant to be used on configurations where xbacklight does not work.

It changes the display brightness on the first sysfs backlight device of type raw.

It is written in C using libsysfs so it is possible to install it SUID-root.

License

sysbacklight is free software under the GNU AGPL version 3. See LICENSE for details.

Dependencies

sysbacklight needs libsysfs.

On Debian, you can install them with:

# apt install libsysfs-dev

Usage

Report the current brightness level in percent

sysbacklight or sysbacklight ?

Set brightness to 42%

sysbacklight = 42

Increase brightness by 10%

sysbacklight + 10

Decrease brightness by 10%

sysbacklight - 10

shortlog
2018-11-29 Jakob HaufeMakefile cosmetics master
2018-11-29 lichtstrahlreiterAdd install target (#3)
2018-11-23 lichtstrahlreiterFix linking
2017-11-28 Jakob HaufeFix typo
2017-10-21 Jakob HaufeAdd README and LICENSE
2017-10-21 Jakob HaufeAdd support for querying brightness
2017-10-21 Jakob HaufeInitialize all variables
2017-10-21 Jakob HaufeInitial commit
heads
22 months ago master