Fabian Peter Hammerle 71d8cf620c Update 'README.md' | vor 7 Jahren | |
---|---|---|
.gitignore | vor 7 Jahren | |
LICENSE | vor 7 Jahren | |
README.md | vor 7 Jahren | |
xbackcalc | vor 7 Jahren |
sudo groupadd brightness
sudo usermod --append --groups video $USER
Create file /etc/udev/rules.d/90-backlight.rules
and add the following two lines:
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp brightness /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
sudo udevadm control --reload && sudo udevadm trigger --action=add --subsystem-match=backlight
xbackcalc 10
xbackcalc 1180
xbackcalc current + 50
xbackcalc current - 50
xbackcalc current / 2
xbackcalc current \* 1.1
xbackcalc current \* 0.9 + 10