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

I'd like a way to set the default keyboard backlight state to "off". I'm running Ubuntu 13.04 on an Asus Zenbook UX32VD. All the function keys work, but currently I have to turn off the keyboard backlight by pressing fn+F5 several times every time I boot up the computer. This is a minor annoyance I've often wanted to know how to avoid.

Is there any way to set the keyboard backlight to be in the off state when the computer turns on?

share|improve this question

The following worked for me with the Asus N550JV running Ubuntu 13.10, but I think it may also work for you:

(1) Get full permissions on the file we need to control

Open up a terminal (CONTROL+ALT+T) and copy and paste this entire code block into the terminal:

sudo touch /etc/init.d/ && \
sudo chmod 777 /etc/init.d/ && \
sudo echo /bin/chmod 777 "/sys/class/leds/asus::kbd_backlight/brightness" > /etc/init.d/ && \
sudo chmod 744 /etc/init.d/ && \
sudo chown root:root /etc/init.d/ && \
sudo ln -s /etc/init.d/ /etc/rc2.d/

then press ENTER. It will prompt you for your password.

(This was taken from LeoR's answer here)

(2) Create a startup script that changes the keyboard brightness

Enter the following command into the terminal:

echo 'echo 0 > /sys/class/leds/asus\:\:kbd_backlight/brightness' > ~/

(3) Call this script at startup

Open up "Startup Applications" (you can find this by pressing the Superkey to get to the Dash and typing Startup)

Click Add, then enter whatever you want for Name, and "sh /home/username/" for Command. Note: do not put "sh ~/". For example, my username is garrett, so I put "sh /home/garrett/".

share|improve this answer
This tweak works on my Asus N46VJ! – AnakinSkywalker Sep 18 '15 at 11:04

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.