Can I map repeated key presses in Ubuntu to particular keys? For example pressing aaa would give me capital A, like I'm doing in my Vim. Because modifier keys are too far away for my fingers to reach and come back again for normal typing. And Capslock key isn't nice, because it makes me to toggle Capslock again to go back to normal. Repeated key presses seems way more faster than moving away finger go for modifier keys and come back again.

Any work-arounds?


Either turn on Sticky Keys (included in Ubuntu) or take a look at USB foot petals (more) which explicitly support Linux and imitate the Shift key of your keyboard.

  • 1
    Aargh!...didnt know there is keyboard for your feet as well! – MD. Mohiuddin Ahmed Sep 28 '19 at 8:32
  • 1
    Well, not a keyboard per se, more like the dwell pedal on a piano. – K7AAY Sep 29 '19 at 6:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.