Skip to content

About

Small utility to set the backlight via sysfs

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Small utility to set the backlight via sysfs

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages