The brightness key (Fn + left/right arrows) on my Acer ASPIRE v15 laptop> on Ubuntu 16.04 LTS are not working.
I can control the brightness by changing the value of brightness by editing the file: /sys/class/backlight/intel_backlight/brightness
I want to connect the (Fn + arrow) key to a script which edits the value in the
above file. But acpi_listen
does not detect the pressing of (fn + arrow(left or right)) key. Though, it is able to detect (fn + arrow(up or down)) keys for volume control.
How to get these keys detected for brightness control by the acpi?
Edit: Binding another keys(other than the (fn + arrow) and calling the script as non-acpi event forces me to run the script by placing it inside /etc/sudoers.d/
directory in order to avoid prompting for password at each press of the key. (as changing the value of brightness requires root permission).