]> git.sur5r.net Git - sysbacklight/blob - README.md
Fix include for libsysfs 2.1.1
[sysbacklight] / README.md
1 # sysbacklight
2
3 `sysbacklight` is a tiny tool meant to be used on configurations where `xbacklight` does not work.
4
5 It changes the display brightness on the first sysfs backlight device of type raw.
6
7 It is written in C using `libsysfs` so it is possible to install it SUID-root.
8
9 ## License
10 `sysbacklight` is free software under the GNU AGPL version 3. See `LICENSE` for details.
11
12 ## Dependencies
13 `sysbacklight` needs libsysfs.
14
15 On Debian, you can install them with:
16
17 `# apt install libsysfs-dev`
18
19 ## Usage
20
21 ### Report the current brightness level in percent
22
23 `sysbacklight` or `sysbacklight ?`
24
25 ### Set brightness to 42%
26
27 `sysbacklight = 42`
28
29 ### Increase brightness by 10%
30 `sysbacklight + 10`
31
32 ### Decrease brightness by 10%
33 `sysbacklight - 10`
34