Fabian Peter Hammerle 71d8cf620c Update 'README.md' | 7 yıl önce | |
---|---|---|
.gitignore | 7 yıl önce | |
LICENSE | 7 yıl önce | |
README.md | 7 yıl önce | |
xbackcalc | 7 yıl önce |
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