4

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows?

In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to decrease and FnF10 to increase), but in Linux it doesn't seems to have these hotkeys implemented as the keyboard backlight is a new and not most spread feature for the notebooks/ultrabooks.

Note: The Fn is working for normal features like display brightness and sound, just for controlling the keyboard backlight it is not configured correctly... But it works in the Linux, as I can turn it on in the Grub2 boot device selector, but not in the running Linux OS.

Just some extra-specs: OS : Linux (Mint Cinnamon 17). Notebook: Samsung Ativ Book 6.

  • UEFI or MBR booting? If the former, you may not be loading the samsung-laptop module which controls this functionality. – jasonwryan Aug 30 '14 at 23:17
  • I think it is MBR, because in the bios I need to put uefi/efi mixed setup instead of just uefi that is default. But just to be sure, there is any command that can I run to return the booting system mode? – lcsvcn Sep 1 '14 at 3:04
  • 3
    UEFI booted systems will have /sys/firmware/efi present. – jasonwryan Sep 1 '14 at 3:20
3

The keys usually used to control keyboard backlight are XF86KbdBrightnessUp and XF86KbdBrightnessDown. You just need to find a way to bind it to the following shell command lines (and set the sudoers as needed):

# Light off the leds
sudo echo 0 > /sys/class/leds/asus::kbd_backlight/brightness
# Light on the leds (full power)
sudo echo 100 > /sys/class/leds/asus::kbd_backlight/brightness

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.