Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im using Ubuntu 12.04, and my laptop is an Asus G60J.


Ubuntu 12.04 64bit

Intel i7 720qm

Nvidia gtx 260m

4gb RAM

The laptop always start with the keyboard backlit On. The hotkeys sometimes work, sometimes don't. Generally they always work to turn on the lights, but it is very hard to turn them off. It is really annoying because when the laptop suspend the keyboard remains turned on.

I would like to know what file manage the FN events so I can try to figure it out. Any kind of help is appreciated.

share|improve this question
up vote 4 down vote accepted

You can manually set the brightness value (between 0 and 3) of the keyboard with the file:


The simplest is first to give you the right to modify it:

sudo chmod 777 /sys/class/leds/asus::kbd_backlight/brightness

And then change the value, for instance to turn it on:

echo 3 > /sys/class/leds/asus::kbd_backlight/brightness

Or turn it off:

echo 0 > /sys/class/leds/asus::kbd_backlight/brightness

You can set a global shortkey (eg Fn + F3 or F4) for those commands, I'm on KDE then cannot help you for this, just have a look on the settings.

(Note: Maybe the maximum value is not 3 in your case, have a look at /sys/class/leds/asus::kbd_backlight/max_brightness.)

share|improve this answer
Thank you, worked like a charm! max_brightness is 3 but the fn keys still don't work.. But that is not really necessary. Greetings – NewK Jul 29 '12 at 14:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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