Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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've been having this problem for a while now (= months). Though it's not life or death, it's like radiation poisoning - it accumulates, and reached a critical point. Here goes:

  • The Numlock and Capslock LEDs change randomly and very infrequently (i.e. after minutes, hours or maybe days). The actual state is still correct. Eg. if the numlock was active, it remains active even if the LED is off.

  • I have an .xmodmap defined for latin character composition. When I execute xmodmap .Xmodmap, it works for about the same 'while' as the LED problem. Then composition stops working.

I suspect both problems are related, though I've never seems them happen simultaneously. It's not the keyboard (which I already changed to another brand). I thought it might be a problem with the XFCE window manager (4.10), so I upgraded that one too. Also upgraded the kernel (now 3.6.6).

Does anyone have a hint on where to look? How I can capture the LED commands and see which program generates them?

Thanks in advance! John

BTW: Keyboard is PS/2 if that matters

share|improve this question

migrated from Nov 17 '12 at 9:01

This question came from our site for professional and enthusiast programmers.

It could be some PS/2 hardware related problem on the motherboard. You may want to use xev to investigate events as seen by X11. – Basile Starynkevitch Nov 16 '12 at 18:40
try sudo dpkg-reconfigure keyboard-configuration – swapyonubuntu Nov 17 '12 at 9:07

Your Answer


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