Fredrik Haikarainen 8 yıl önce
ebeveyn
işleme
9681c7268a
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6
    0
      README.md

+ 6
- 0
README.md Dosyayı Görüntüle

@@ -31,6 +31,12 @@ I recommend you go with light-git as you might miss important features and bugfi
31 31
 
32 32
 `make && make install`
33 33
 
34
+**Optional:** If you want to use udev rules instead of suid to manage sysfs permissions, you may skip the `make install` step and instead add something like the following to `/etc/udev/rules.d/90-backlight.rules` after copying your binaries:
35
+```
36
+ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
37
+ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
38
+```
39
+
34 40
 
35 41
 ## Usage
36 42