Automatic text replacement in Ubuntu

Solution 1:

Try autokey. I'm just starting with it, but it seems that it will do the job.

alt text