Create a custom keyboard shortcut to type in text
I am constantly typing the same text in Ubuntu 18.04, be it passwords/short lines of code.
My keyboard has some additional keys which do not work in Ubuntu (calculator/skype/headphones/email/homepage) which I would like to transform into macro keys for making my work less type centric.
In the shortcut menu, I can assign commands to keys. How can I give a command to type something?
e.g, press the homepage button would be equivalent to press the keys "A","S","K","U","B","U","N","T","U"
Best Regards
31 Answer
I don't recommend the following applications for passwords since you have to store them in plain text. But they are great for text and code.
AutoKey (Qt or gtk) - program keyboard shortcuts.
- I've tried with
home,pgup,pgdn,endand others. Not sure if it will work for your keyboard.
Espanso - Text Expander
Actiona - For more complex scripts that can be launch with a hotkey. I think you can only run one instance at the time. You can Open a URL, type text, move cursor, click, etc.
For passwords KeePassXC (Cross-Platform Password Manager) can autotype passwords.
2