software · Q752
AutoKey
AutoKey tool for keyboard-driven desktop automation or reusable text expansion.
Overview
AutoKey is an open-source desktop automation utility for Linux X11 sessions. It combines reusable text phrases with Python scripts, activated through abbreviations, hotkeys or menus. Its platform requirement is significant: the project warns that it does not function correctly when Wayland replaces Xorg.[1][2]
Text phrases and triggers
A phrase can insert a block of text, while an abbreviation or key combination selects when it runs. Phrases can also contain dynamic placeholders for values such as the current date. Folders organize phrases and scripts, allowing one collection to serve repeated writing tasks across applications instead of duplicating snippets in each editor.[2]
Python automation
Scripts are Python programs that can launch applications, manipulate windows and send keyboard or mouse input. AutoKey supplies APIs for common desktop interactions, while Python provides the broader programming environment. A shared script is consequently executable automation, not merely a text template, and its behavior depends on the code and available dependencies.[2][3]
Sending text and filtering
The engine API offers different phrase-delivery modes, including simulated typing and clipboard-based pasting. Window filters use regular expressions against titles or application class information, and a phrase can require confirmation before expansion. These options help adapt a snippet to the target application rather than assuming one insertion method works identically everywhere.[3]
Configuration migration
The beginner guide describes each phrase or script as a body file plus associated metadata. Both parts need to move together to preserve the item and its trigger configuration. It also notes that configuration directories are not continuously rediscovered in the described workflow, so copying files alone may not immediately refresh the running application.[2]
Licensing and display system
The project identifies GPLv3 licensing and Python 3 support. Its X11 dependence is an operational limit, not simply a packaging preference. A Linux distribution's name does not establish compatibility if the active desktop session uses Wayland; the display system must be part of the requirement before selecting AutoKey.[1]
Substitution considerations
AutoKey can substitute for Espanso for reusable text and scripted expansions on Linux X11. It offers a Python-centered automation model and different configuration files. Espanso's other platforms and experimental Wayland path are outside that substitution, and existing snippet definitions require adaptation rather than being assumed directly compatible.[1][3][4][5]
Capabilities & limitations
Wayland session support
unsupportedThe project warns that the X11 application will not function correctly under Wayland.[1]
Desktop automation and text expansion · Linux X11 · Operating-system, application and permission requirements apply
1 source · check evidence
Linux X11 requirement; Wayland limitation; Python3; GPLv3
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
References
- AutoKey
Linux X11 requirement; Wayland limitation; Python3; GPLv3
vendor · retrieved 2026-10-07 - AutoKey beginner guide
Phrases, Python scripts, hotkeys and body/metadata file pairs
vendor · retrieved 2026-10-07 - AutoKey engine API
Send modes; window filters; phrase creation and confirmation
vendor · retrieved 2026-10-07 - Espanso
Cross-platform text expansion; GPL3; search bar and scripts
vendor · retrieved 2026-10-07 - Espanso Linux support
Separate X11 and Wayland installation paths
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 800 | 2026-10-13 09:32:26 | /* wbeditentity-create-item:0| */ sf:f5482b87-b9cd-4ef6-9c12-8332679539ef:v1 | Add AutoKey with cited automation scope, platform and configuration limits; no scripts executed, applications installed or permissions changed. | attribution: /proposals/f5482b87-b9cd-4ef6-9c12-8332679539ef |