How to set the laptop screen brightness programatically?

Posted by zls on Super User See other posts from Super User or by zls
Published on 2012-04-08T11:22:03Z Indexed on 2012/04/08 11:34 UTC
Read the original article Hit count: 203

I'm currently migrating to openbox without gnome session. In unity i can use the vendor keys to set the screen brightness, but in openbox I'm on my own.

  • /sys/class/backlight/acpi_video0/brightness works fine, the problem is that I need sudo to set the brightness and that wouldn't work with keyboard mappings.
  • xbacklight -get/set doesn't do or output anything.
  • I don't really want to use xrandr --brightness.

Are there any other options or a way to fix the problems with xbacklight or acpi_video0 ?

© Super User or respective owner

Related posts about linux

Related posts about ubuntu-11.10