PrawnOS-nonfree/filesystem/resources/InstallResources/xfce-config/brightness/backlight.rules

5 lines
271 B
Plaintext
Raw Normal View History

/etc/udev/rules.d/backlight.rules
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"