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

I know that Autokey has the functionality to create text macros, but I found it very buggy, and there are no new releases coming out. (IronAHK looks to be an excellent alternative, but it isn't actually available yet.)

So I'd like to do the following myself: map control-L to this (yes, just type a bunch of dashes - I'm starting simple) -


Can I do this via the Keyboard Shortcuts? Would an .sh script work best? And if so, can you point me in the right direction for learning how to create that kind of .sh script?

If this is a silly solution, is there an alternative program that would allow me to map text macros?

Thanks so much.

share|improve this question

I know of 2 others: xmacro! Package Can not find a screenshot of this one :+) xnee Package


But as with autokey... both have their quirks too.

edit: On rereading your q: these to are to create macros but autokey seems to use python scripts. So my answer might not be correct.

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.