0

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:
/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?
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).

  • 1
    Welcome to Ask Ubuntu. You haven't told us your release of Ubuntu, or your desktop (which may be the default, but without release we cannot know). – guiverc Feb 3 at 13:20
  • I am using Ubuntu 16.04 LTS . – user2734113 Feb 3 at 13:59
0

In settings > Devices > Keyboards look for the hotkeys for controlling brightness. If your built in keys don't work, you can manually bind over them (Select the adjust brightness shortcut and press Fn + L/R)

  • I am unable to bind fn + l/r key through this method. – user2734113 Feb 3 at 18:25
  • It seems that acer doesnot support fully featured acpi for GNU/Linux. I am just going with running the script and linking to other keyboard short cuts. – user2734113 Feb 19 at 2:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.