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 installed 12.04 and it was working perfectly, but since yesterday I encountered a problem.

When I press left Ctrl key, it doesn't respond but when I press Fn key, it works as a Ctrl key and loses its own functioning.

Same with the Delete key it works as a Pause Break key and Pause Break key is working as a Delete key.

NumLock key is working as a PrtScr key.

After updating my OS, the problem is still happening. Please tell me what to do.

share|improve this question

You can restore default keyboard layout settings. You can find it under System>Keyboard>Layout Settings .. Restore Defaults ..

share|improve this answer

I was looking for help with this same notorious issue of key board and mouse not working and stumbled upon this answer for a 13.10 with the same problem but, it fixed my problem with 12.04

The bug affects many people, its importance is set to "High", so we may expect that an official fix will be released soon. You can subscribe to notifications about this bug on, so that you receive an email when it's done.

Currently, a patch aimed at resolving this issue is being tested. By now it seems to work for most users, though certain problems remain. To install the patch, use the following commands:

sudo add-apt-repository ppa:attente/1218322
sudo apt-get update
sudo apt-get upgrade

A system reboot was needed in my case to make it work.

share|improve this answer

The setxkbmap command maps the keyboard to use the layout determined by the options specified on the command line.

setxkbmap [YOUR OPTIONS]
share|improve this answer
It would help to quote a manpage or give useful options for this command. – hexafraction Sep 24 '12 at 11:24

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.