Mailing the story:
How To Automate Repetitive Typing (Text Expansion) With AutoKey On Linux
Text expansion (or substitution) helps you save time by transforming abbreviations into a long string of text. Use it to boost your productivity by quickly inserting a phrase that you need to type frequently, your address, code and so on, in any application. This tutorial explains how to automate repetitive typing using AutoKey, a desktop automation utility for Linux / X11.