Comment 27 for bug 1440891

Revision history for this message
In , Nico-freedesktop-org (nico-freedesktop-org) wrote :

Fyi - I just wrote cbacklight to cleanly / easily fix this problem:

[14:21] line:~% cbacklight --help
usage: cbacklight [-h] [--inc INC | --dec DEC | --set SET] [--get]

cbacklight

optional arguments:
  -h, --help show this help message and exit
  --inc INC Increment by percentage (points)
  --dec DEC Decrement by percentage (points)
  --set SET Set to percentage
  --get Get percentage (default)
[14:21] line:~% cbacklight --inc 5
[14:21] line:~% cbacklight --dec 5 --get
intel_backlight: 65.19%
[14:22] line:~%

It was inspired by Sebastian's ybacklight, however it only requires python3 and has no external dependencies.

You can find it in the nsbin repository on https://github.com/telmich/nsbin

Requires you to have sane permissions on the files, but that should be solved by udev or rc.local