I am looking for a program that runs on Ubuntu 12.04+ x86_64
which allows pasting pre-defined text based on hotkey combinations. For instance:
Ctrl+Alt+V+U: pastes my username
Ctrl+Alt+V+E: pastes my email
Any suggestions?
I am looking for a program that runs on Ubuntu 12.04+ x86_64
which allows pasting pre-defined text based on hotkey combinations. For instance:
Ctrl+Alt+V+U: pastes my username
Ctrl+Alt+V+E: pastes my email
Any suggestions?
You can use autokey
.
Follow the instructions below:
Installation
Open a terminal (Ctrl+Alt+T) and run the following command:
sudo apt-get install autokey-gtk
Adding Phrases
autokey
using the dash.In the window, expand My Phrases.
autokey
already comes with four phrases as you can see in the screenshot below.
Configuring Shortcut Keys
Click on a any phrase name to see the current configuration. In the screenshot above, First phrase is selected.
To change the shortcut key or Hotkey, click on Set
besides the Hotkey and then click on Press to set in the new dialog box that appears.
Then press the key combination you wish and select OK.
Configuring Window Filter
If you wish to use the hotkey only for a particular window, you can set Window Filter by selecting Set > Detect Window Properties and then clicking on the window.
Or if you would like the hotkey to work in all the windows, Clear the Window Filter.
Save the current phrase and Run the current script by clicking on the play-like button on the top write of the window.
Using the new shortcuts
autokey
window and use the Hotkey to paste the corresponding phrase.Further Information: Autokey Wiki