The brightness key (fn + arrow(left or right)) on my acer laptop ASPIRE v15 are not working.
I can control the brightness by changing the value of brightness by editing the file:
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?
Edit1: I am using Ubuntu 16.04 LTS
Edit2: Binding another keys(other than the (fn + L/r) 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 requries root permission).