Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. AutoHotkey
  3. AHK_X11

AHK_X11

GPL-2.0Crystal1.0.7

A Linux port of AutoHotkey v1.0.24 for X11 systems, enabling automation scripting with hotkeys, hotstrings, and GUIs.

GitHubGitHub
1.0k stars28 forks0 contributors

What is AHK_X11?

AHK_X11 is an open-source implementation of AutoHotkey for Linux systems running X11. It allows users to write automation scripts that can simulate keystrokes, manage windows, create GUIs, and define custom hotkeys and hotstrings. The project solves the need for a lightweight, native automation scripting tool on Linux, similar to what AutoHotkey provides on Windows.

Target Audience

Linux users familiar with AutoHotkey from Windows, or anyone seeking a scripting tool for desktop automation, keyboard macro creation, and simple GUI development on X11-based systems.

Value Proposition

Developers choose AHK_X11 because it offers a straightforward, single-binary solution for automation on Linux, with script compilation, low overhead, and a syntax similar to classic AutoHotkey, without requiring complex dependencies or modern expression syntax.

Overview

AutoHotkey for Linux (X11-based systems)

Use Cases

Best For

  • Automating repetitive desktop tasks on Linux
  • Creating custom keyboard shortcuts and text expansions
  • Building simple GUI tools for personal or internal use
  • Scripting window management and control actions
  • Porting basic AutoHotkey scripts from Windows to Linux
  • Developing standalone automation utilities without runtime dependencies

Not Ideal For

  • Projects that rely on modern AutoHotkey v1.1+ features such as expression syntax, functions, and objects
  • Systems using Wayland instead of X11, like default Ubuntu 22.04 and later
  • Performance-critical automation where millisecond precision or low latency is essential
  • Teams wanting to port existing Windows AHK scripts without significant modification effort

Pros & Cons

Pros

Lightweight Single Binary

AHK_X11 is distributed as a single AppImage with no dependencies, making installation and deployment straightforward, as highlighted in the README's direct download and usage instructions.

Script Compilation

Scripts can be compiled into portable executables with no dependencies, allowing for easy distribution of automation tools, similar to Windows AutoHotkey.

Familiar Automation Syntax

Uses AutoHotkey-like syntax for hotkeys, hotstrings, and window management, ideal for users migrating from Windows or familiar with legacy AHK commands.

Integrated GUI Creation

Supports building simple graphical interfaces with buttons and inputs, enabling basic GUI tool development on Linux without complex frameworks.

Cons

Limited Modern Feature Support

Based on AutoHotkey v1.0.24, it lacks advanced expressions, functions, classes, and objects, making complex scripting cumbersome and incompatible with many modern Windows AHK scripts.

X11 Dependency and No Wayland

Requires X11 and does not work with Wayland, limiting usability on modern Linux distributions like Ubuntu 22.04+, as noted in the README's caveats.

Performance and Compatibility Issues

Some commands, like WinGetText, can be slow (up to 3 seconds), and there are caveats with sending special keys or mouse remapping, as detailed in the performance and limitations sections.

Frequently Asked Questions

Quick Stats

Stars1,020
Forks28
Contributors0
Open Issues39
Last commit7 months ago
CreatedSince 2022

Tags

#open-source#x11#keyboard-shortcuts#desktop-automation#linux#gui#scripting-language#hotkeys#automation

Built With

l
libxdo
G
GTK+ 3
C
Crystal
x
x11

Included in

AutoHotkey3.0k
Auto-fetched 1 day ago

Related Projects

IronAHKIronAHK

Cross platform .NET rewrite of the popular AutoHotkey scripting language for desktop automation.

Stars415
Forks74
Last commit8 years ago
AutoHotkey DLLAutoHotkey DLL

AutoHotkey_H v1 release

Stars69
Forks11
Last commit4 years ago
AutoHotkeyAutoHotkey

AutoHotkey interpreter installer and binaries

Stars0
Forks0
Last commit
AutoHotkey build for CEAutoHotkey build for CE

AutoHotkey for Pocket PCs / WinCE / Smartphones. Forum thread: link. Documentation link

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub