I have a laptop which I hook up to an external display when I'm at home. I also connected an external keyboard and mouse which makes it more comfortable for me.

I have noticed that pressing caps lock on the external keyboard does not light up the capslock indicator of the laptop keyboard (and vice versa).

When googling, I came across the setleds function, but when I type it into a console all I get is this:

KDGKBLED: Inappropriate ioctl for device
Error reading current flags setting. Maybe you are not on the console?

Any idea if I can get this working?


This is a confirmed bug and there is nothing that you can do for the moment to fix it (I have the same issue):

Also, setleds it's working only in console mode (one among tty1-tty6), but this will not solve the problem. Check man setleds to see what it's purpose is (there is also one example there).

  • I guess I'm going to have to accept this problem won't go away then. Is there any sign that or information saying that this will be fixed in the future? – Michael Aquilina Oct 3 '13 at 9:27
  • @MichaelAquilina Who knows? Right now you can only wait for bug to be fixed, or if you have the necessary resources (I don't have them) you can try to fix it yourself... – Radu Rădeanu Oct 3 '13 at 11:38

Press Ctrl+Alt+F5 or F6 to change current tty

Then login in a new tty and use it

setleds -caps

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.