{"schemaVersion":"1.0","record":{"label":"AutoKey","description":"AutoKey tool for keyboard-driven desktop automation or reusable text expansion.","aliases":[],"kind":"software","website":"https://github.com/autokey/autokey","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.","license":"GPL-3.0","lifecycle":"active","example":false,"features":[{"name":"Wayland session support","status":"unsupported","detail":"The project warns that the X11 application will not function correctly under Wayland.","useCase":"Desktop automation and text expansion","platforms":["Linux X11"],"region":"Operating-system, application and permission requirements apply","evidence":[{"url":"https://github.com/autokey/autokey","locator":"Linux X11 requirement; Wayland limitation; Python3; GPLv3","retrievedAt":"2026-10-07T05:10:14Z","kind":"vendor"}]}],"alternatives":[],"slug":"autokey","draftAlternatives":[{"targetSlug":"espanso","status":"limited","detail":"Suitable for text and scripted expansions on Linux X11; configuration and broader platform support differ.","useCase":"Reusable text expansion","platforms":["Linux X11"],"region":"Operating-system, application and permission requirements apply","evidence":[{"url":"https://github.com/autokey/autokey","locator":"Linux X11 requirement; Wayland limitation; Python3; GPLv3","retrievedAt":"2026-10-07T05:10:14Z","kind":"vendor"},{"url":"https://github.com/autokey/autokey/wiki/Beginners-Guide","locator":"Phrases, Python scripts, hotkeys and body/metadata file pairs","retrievedAt":"2026-10-07T05:11:13Z","kind":"vendor"},{"url":"https://espanso.org/","locator":"Cross-platform text expansion; GPL3; search bar and scripts","retrievedAt":"2026-10-07T05:10:26Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/autokey/autokey","locator":"Linux X11 requirement; Wayland limitation; Python3; GPLv3","retrievedAt":"2026-10-07T05:10:14Z","kind":"vendor"},{"url":"https://github.com/autokey/autokey/wiki/Beginners-Guide","locator":"Phrases, Python scripts, hotkeys and body/metadata file pairs","retrievedAt":"2026-10-07T05:11:13Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/autokey/autokey","locator":"Linux X11 requirement; Wayland limitation; Python3; GPLv3","retrievedAt":"2026-10-07T05:10:14Z","id":"autokey","title":"AutoKey","kind":"vendor"},{"url":"https://github.com/autokey/autokey/wiki/Beginners-Guide","locator":"Phrases, Python scripts, hotkeys and body/metadata file pairs","retrievedAt":"2026-10-07T05:11:13Z","id":"autokey-guide","title":"AutoKey beginner guide","kind":"vendor"},{"url":"https://autokey.github.io/api/engine.html","locator":"Send modes; window filters; phrase creation and confirmation","retrievedAt":"2026-10-07T05:11:59Z","id":"autokey-api","title":"AutoKey engine API","kind":"vendor"},{"url":"https://espanso.org/","locator":"Cross-platform text expansion; GPL3; search bar and scripts","retrievedAt":"2026-10-07T05:10:26Z","id":"espanso","title":"Espanso","kind":"vendor"},{"url":"https://espanso.org/docs/install/linux/","locator":"Separate X11 and Wayland installation paths","retrievedAt":"2026-10-07T05:11:00Z","id":"espanso-linux","title":"Espanso Linux support","kind":"vendor"}],"overviewCitations":["autokey","autokey-guide"],"licenseCitations":["autokey"],"sections":[{"id":"phrases","heading":"Text phrases and triggers","paragraphs":[{"id":"phrases-detail","content":[{"text":"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."}],"citations":["autokey-guide"]}]},{"id":"scripts","heading":"Python automation","paragraphs":[{"id":"scripts-detail","content":[{"text":"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."}],"citations":["autokey-guide","autokey-api"]}]},{"id":"context","heading":"Sending text and filtering","paragraphs":[{"id":"context-detail","content":[{"text":"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."}],"citations":["autokey-api"]}]},{"id":"migration","heading":"Configuration migration","paragraphs":[{"id":"migration-detail","content":[{"text":"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."}],"citations":["autokey-guide"]}]},{"id":"platform","heading":"Licensing and display system","paragraphs":[{"id":"platform-detail","content":[{"text":"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."}],"citations":["autokey"]}]},{"id":"substitution","heading":"Substitution considerations","paragraphs":[{"id":"substitution-detail","content":[{"text":"AutoKey can substitute for "},{"text":"Espanso","targetSlug":"espanso"},{"text":" 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."}],"citations":["autokey","autokey-api","espanso","espanso-linux"]}]}]},"id":"Q752","revision":800,"updatedAt":"2026-10-13T09:32:26Z","sourceUrl":"https://substitutefor.net/entities/Q752?revision=800"}}