]> git.sur5r.net Git - sysbacklight/summary
 
descriptionSmall utility to set the backlight via sysfs
ownerJakob Haufe
last changeTue, 18 Apr 2023 20:28:43 +0000 (22:28 +0200)
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
2023-04-18 Jakob HaufeFix include for libsysfs 2.1.1 master
2018-11-29 Jakob HaufeMakefile cosmetics
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
12 months ago master