Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently got a backlit keyboard, and I LOVE to write late at night.

But I cannot for the life of me figure out how to light it up...It lights up when first plugged in, but nothing happens after that....

It is an 'XtremeIT' keyboard. There is a video of someone on Ubuntu who managed to activate it...

http://www.youtube.com/watch?v=DFECpDrBn8Q

share|improve this question
1  
We need to know what kind of backlit keyboard it is, is it usb, built into a laptop etc. –  Martin Owens -doctormo- Nov 18 '10 at 18:37
    
XtremeIT keyboard :) Sorry, should of mentioned that sooner! –  Dante Ashton Nov 23 '10 at 13:18
    
Does the keyboard have problem only with Ubuntu machine and works fine with other platform? Sorry if am sounding foolish. –  user11230 Feb 21 '11 at 21:23
    
Can i do this on my mac ?? can some one explain me how ? –  user311086 Jul 31 '14 at 20:12

4 Answers 4

What model is the keyboard? I have the old G15 and mine lights up fine. Usually the keyboard itself has a button to enable/dim/brighten the light.

share|improve this answer
    
XtremeIT. There is no button :( –  Dante Ashton Nov 23 '10 at 23:57

Did you try the script the youtube poster suggested in his own comments? Basically use xset to toggle the state of the led backlight.

#!/bin/bash
if [ -f /tmp/keyboard_light ]; then
xset -led 3 && rm /tmp/keyboard_light
else
xset led 3 && touch /tmp/keyboard_light
fi

(I would have made this a comment on your original question, but I don't have enough rep yet.)

share|improve this answer

for those who land here because they also want the keyboard to light up BEFORE the login screen:

Finally Found an answer, at least for Ubuntu 14.04

as for how to get the keyboard to light up before the login screen:

edit : /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf

sudo gedit /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf

add the line:

greeter-setup-script= xset led 3

share|improve this answer

Found the answer after a long night up with lots of half baked solutions.

# backup your symbols file
sudo cp /usr/share/X11/xkb/symbols/us{,.distribution} 

Add the following line in the xkb_symbols "basic" { section. do not worry if that second line is not there, it is only there for some languages and was not there for us on my system.

...
    modifier_map Mod3   { Scroll_Lock }; <==<< Add this line

    include "level3(ralt_switch)" <==<< before this line
};

You may have to do the same in your other layouts if you switch between languages

Also, there is a cache where xkb layouts live. You should clear it before restarting your X server to check the new keyboard symbol file(s).

sudo rm -f /var/lib/xkb/*
share|improve this answer

Your Answer

 
discard

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.