Sponsored Links

Automate your common tasks on Linux with AutoKey

If you do a lot of typing it could be useful to have a program that can easily manage your custom shortcuts, create and test them.
For all these things you can use the program autokey.
AutoKey is a desktop automation utility for Linux and X11. It allows you to manage collection of scripts and phrases, and assign abbreviations and hotkeys to these. This allows you to execute a script or insert text on demand in whatever program you are using.
AutoKey features a subset of the capabilities of the popular Windows-based AutoHotkey, but is not intended as a full replacement. For a Linux-based implementation of AutoHotkey, see IronAHK. AutoKey’s GUI features a number of concepts and features inspired by the Windows program PhraseExpress.

Features of AutoKey include:

Python scripting engine allows you to automate virtually any task that can be accomplished via the keyboard and/or mouse
Built-in code editor with autocomplete and calltips
Scripts are plain Python files that can be edited in any text editor
Similarly, phrases are stored as plain text files
Create collections of phrases/scripts in folders, and assign a hotkey or abbreviation to the folder to display a popup menu
Regular expressions can be used to filter windows by their title or class, to exclude hotkeys/abbreviations from triggering in certain applications
Scripts, phrases and folders can be attached to the notification icon menu, allowing you to select them without assigning a hotkey or abbreviation

On Ubuntu there are 2 packages on the main repository: autokey-gtk and autokey-qt, so depending on your Desktop Environment you can choose which frontend install, I use XFCE so I’ve installed the GTK version with the command:

sudo apt-get install autokey-gtk

Basic Usage
When a trigger previously defined is detected by Autokey, it can do three different actions:
1) A script is activated
2) Some text is inserted at the cursor position
3) A pop-up menu is displayed allowing

Read more at Linux Aria

Comments are closed.