I have been using AutoKey on my Linux desktop to provide automated text insertion capabilities similar to what I get from AutoHotKey on my Windows systems. I prefer to keep things like my email and ticket signatures stored as hotkeys so I can more granularly choose when to use them.
The version of AutoKey included in the Ubuntu repositories has an issue where blank lines are inserted rather than the expected text.
Googling yielded the solution from an AskUbuntu post.
To fix the blank line issue, create a file named
/usr/share/dbus-1/services with the following content:
[D-BUS Service] Name=org.autokey.service Exec=/usr/bin/autokey
After creating the file with the content above, kill and restart the AutoKey process or just reboot your computer. AutoKey should now properly insert text instead of blank lines!
D-BUS handles all of the communication between different processes running on the Linux system. It appears the D-BUS service for AutoKey is not configured correctly upon installation.