NOTE: Does not work well on Wayland.
Many of us need to run rather long terminal commands or run simple but frequent terminal commands.
Rather than typing the full thing (which is good for memorization, but not so good for wits and time), you can use Autokey.
If you have ever used Macros
, this is similar.
To install it on Zorin OS with GTK:
Download the latest release from here.
Open a terminal in your Downloads directory or c
hange d
irectory to it with cd ~/Downloads
Run (Replace 0.96.0 with the version number you actually download. Alternatively, if these two are the only .deb packages in your Downloads folder, you can simply run sudo dpkg -i *.deb
):
sudo dpkg --install autokey-common_0.96.0_all.deb autokey-gtk_0.96.0_all.deb
For those of us using Plasma D.E. on Zorin OS, you can grab the Qt autokey-qt_${VERSION}_all.deb
version, instead of the gtk version.
Due to missing dependencies, you now will mot likely need to run
sudo apt --fix-broken install
That should do it. It is now installed.
You can launch from the app menu: Autokey
In the open window, you can set your phrases and assign a hotkey for them. This can be passwords or common commands.
Remember, when setting your hotkey for a Terminal Command, to select Clipboard (Ctrl+Shift+V)
from the "paste using" Drop Down Menu.