How to disable repeat keys on some keys (not all keys)

Marius Gedminas marius at pov.lt
Thu Sep 16 17:04:18 UTC 2010


On Wed, Sep 15, 2010 at 10:36:16AM +0800, Shenli Zhu wrote:
> Sometimes when I release the key, it still repeat keys, I guess it's a
> hardware problem. So I want to allow 4 direction keys(left, right, up,
> down) to repeat, and disable others?
> 
> But keyboard preference only allow enable/disable repeat keys on all
> keys. How to enable/disable some keys?

You can enable/disable autorepeat for individual keys with

  xset r keycode
  xset -r keycode

Use xev to find out the keycodes of the keys you're interested in.

Marius Gedminas
-- 
If nothing else helps, read the documentation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100916/0cc22c54/attachment.sig>


More information about the ubuntu-users mailing list