unity - i3wm, adjust brightness through command line - Ask Ubuntu
i've got precision 5510 running ubuntu 16.10 kernel 4.8.4. in unity, function keys brightness work correctly. xbacklight commands don't anything. xbacklight -get comes empty. there way increase / decrease brightness through command line? need work in i3wm.
you may modify value in /sys/class/backlight/{may vary}_backlight/brightness
example:
sudo nano /sys/class/backlight/intel_backlight/brightness
this tool https://github.com/multiplexd/brightlight use this:
bindsym xf86monbrightnessup exec --no-startup-id brightlight -i 20 bindsym xf86monbrightnessdown exec --no-startup-id brightlight -d 20
Comments
Post a Comment