11

I run Ubuntu 16.04 as a Windows 10 dual boot on a HP with its built-in keyboard.

Specifications in picture

Specifications in picture

I noticed an annoying keyboard behaviour under Ubuntu. When I press a key, it can happen that the system repeats the key infinitely, even after I released the key. I think this bug only appears, if I press a key for a longer time, but the bug can't be always reproduced by pressing a key over an extended period of time.

This can happen with any key, but mostly I notice it with arrow keys (Annoyingly, sometimes one doesn't see anything, except that the program seems to be unresponsive, because the arrow key command overrules any further input). I can terminate the key repeat by pressing Esc or another arrow key.

I don't know, how to evoke this behaviour on purpose. It is not a computer problem per se - I have never noticed that behaviour, when using the Windows partition. It is also not a problem with the latest update - the problem exists for quite a while, I just happen to ask now.

I also tried this keyboard test from the related question section. Keys were shown as expected and the sticky key problem didn't appear. Which doesn't say much, since it sometimes does not happen for days.

damadam
  • 2,873
Mr. T
  • 301

3 Answers3

9

Try:

xset r rate 250 60
xkbset bouncekeys 50

Tweak the numbers.

Also try:

xset r off

See:

Dave Jarvis
  • 991
  • 2
  • 12
  • 26
2

I experienced this issue using X2Go over VPN connection to Ubuntu 18.04.5 LTS. Going to Settings->Universal Access and in the Typing section turning off Repeat Keys seemed to fix the problem for me.

0

I have exactly the same problem, but it seems, that the unwanted repeating only appears, when pressing a key too short. Try to press some keys very carefully, then it should work. If you hack your keys quick enough it comes to this issue. I don't know why, but there seems to be a minimum time, a key must be pressed.

Linda
  • 1