I did found this similar question but the problem still pops up now and then later after executing such command.
The problem came back after I open random applications. Sometimes after opening google chrome, sometimes OpenGL-based application, sometimes a certain applications which eat much of the RAM & CPU.
Just for the record, the problem is while I'm holding down the key, it keeps repeating the key in which I don't want this behavior to happen.
For reference, my system is 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
on xfce.
Update
- Initial work around is to set
Repeat Delay
to be highest andRepeat speed
to be lowest. Anyway, it doesn't completely solve the problem but at least not let you face the full blown repeating key problem.
Besides setting the repeat delay and speed as you've already done for a workaround, try:
Source: Ubuntu 18.04 Repeat Keys wont stay off