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

On logging into Oneiric, my repeat key functionality doesn't work. Holding in a key will not repeat. I can work around this by going into System Settings>>Keyboard and slightly adjusting the delay and/or speed and then the repeat keys will work for that session only.

Shutting down and restarting again breaks the repeat keys.

What can I do to fix this?

share|improve this question
Me too! I am interested to see if there is a solution around. My current workaround is also going into the System Settings->Keyboard->Deselect "Key presses repeat when key is held down"->Select that same option again. Pretty darn frustrating – Antony Nov 29 '11 at 2:54
Probably should add that it is happening on a ThinkPad T400. It is unclear when the keypress setting stops working, as searching inside /var/log/syslog yields nothing just yet (or maybe I am just looking at the wrong log) – Antony Nov 29 '11 at 4:11
Not sure if this is still an issue for you, but the key press issue hasn't been showing up as of late for over a week. During that time frame, I have kept my ubuntu up to date, so I presume one of the patches probably nailed it? – Antony Dec 6 '11 at 20:24

I installed xkbset and with the xkbset repeatkeys command it is now working.

I am using Ubuntu 12.04

share|improve this answer

I had the same problem as you, but I run a VM with VMware 8.0. After a while the keys would no repeat. What I discovered was I needed to disable "Grab when cursor enters window" from within the input preferences section (Edit -> Preferences -> Input). After that change I have not experienced my keyboard no repeating a keystroke if I hold it down.

share|improve this answer

Go to system settings >> keyboard and make sure that repeat and speed are set correctly.

when this doesn't work, it sometimes helps to disable repeat keys and enable it again.

share|improve this answer

The xset utility can be used to enable keyboard repeat. It works on the level, so should override whatever the distribution is doing wrong.

To enable keyboard repeat, execute:

xset r on

For details, see man xset.

share|improve this answer

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.