LinuxAlternative

Windows · System Tools

Die besten Linux-Alternativen zu AutoHotkey (AHK)

AutoHotkey is a free, open‑source Windows scripting tool for creating hotkeys, macros and UI automation.

Aktualisiert am

Kurz gesagt

Die beste Linux-Alternative zu AutoHotkey (AHK) ist xdotool. Weitere gute Optionen: ydotool, AutoKey, Input Remapper.

5 Linux-Alternativen zu AutoHotkey (AHK)

  1. #1

    xdotool

    Open SourceKostenlos
    10

    xDotool ist ein Befehlszeilen-Tool, das Tastatur- und Maus-Eingaben simuliert, Fenster verwaltet und Ereignisse in X11 einfügt.

    xdotool can replace some of AutoHotkey’s core functions on Linux, especially for simple hotkeys, keystroke and mouse event injection, and basic window manipulation. It is best suited for users who need quick command‑line scripts or shell integration, such as developers or sysadmins. However, it…

    Funktionsabdeckung55%
  2. #2

    ydotool

    Open SourceKostenlos
    9

    ydotool ist ein Befehlszeilen-Tool, das Tastatur- und Maus-Eingaben unter Linux simuliert.

    ydotool is a partial replacement for AutoHotkey, suitable only for users who need simple input simulation via shell scripts. It lacks AHK's high-level scripting language, global hotkey management, and window interaction capabilities. If your AHK scripts rely on complex logic, UI automation, or…

    Funktionsabdeckung40%
  3. #3

    AutoKey

    Open SourceKostenlos
    8

    AutoKey ist ein Desktop-Automatisierungstool für Linux, mit dem Sie Skripte und Tastenkombinationen erstellen können, um repetitive Aufgaben zu automatisieren.

    AutoKey can replace many of the core functions of AutoHotkey for Linux users who need basic hotkey and macro support. It works well for simple global shortcuts, text expansion, and scripts that run on startup. However, it lacks the advanced UI automation and conditional scripting features that…

    Funktionsabdeckung60%
  4. #4

    Input Remapper

    Open SourceKostenlos
    6

    Input Remapper ermöglicht es Ihnen, Tastatur- und Maus-Eingaben auf andere Aktionen unter Linux umzuleiten, und ersetzt so die Gerätekonfiguration von Logitech G Hub.

    Input Remapper is a solid replacement for basic AutoHotkey tasks like remapping keys and buttons, but it is not a general-purpose scripting engine. It excels at low-level input manipulation on Xorg and Wayland without proprietary drivers. However, it lacks AHK’s powerful window management, UI…

    Funktionsabdeckung40%
  5. #5

    Python

    Open SourceKostenlos
    5

    Python is a versatile, interpreted language used for scripting, automation, and application development.

    Python can replace AutoHotkey for users who are comfortable writing Python scripts and have the necessary libraries (e.g., pyautogui, keyboard). It offers the same core capabilities—hotkeys, mouse/keyboard automation, conditional logic, and startup execution—but requires a learning curve and…

    Funktionsabdeckung70%

Was ist AutoHotkey (AHK)?

AutoHotkey is a lightweight scripting language that lets Windows users bind keys, mouse actions and custom scripts to automate repetitive tasks or control applications. It’s popular among power users, developers and sysadmins who need quick, scriptable shortcuts without writing full programs.

The software is released under an open‑source licence and can be downloaded and used at no cost. Its scripts are plain text files, making distribution and sharing easy within the Windows community.

Linux users who rely on similar hotkey and automation workflows often look for a native replacement because AHK runs only on Windows, and running it through compatibility layers adds latency and maintenance overhead.

Was ein Ersatz für AutoHotkey (AHK) können muss

  • Define global and application‑specific hotkeys
  • Record and replay mouse movements and clicks
  • Create simple to complex automation scripts
  • Interact with window titles, controls and UI elements
  • Support conditional logic and variables
  • Run scripts at startup or on demand
  • Provide a readable scripting syntax

Läuft AutoHotkey (AHK) unter Linux?

There is no native Linux port of AutoHotkey. The original AHK can be run under Wine, but performance and integration with the Linux desktop are limited. No official web version exists. For a truly native experience you need to use a Linux‑specific tool such as AutoKey or xdotool.

Welche Alternative passt zu Ihnen?

If you need a close syntactic match to AHK, AutoKey is the best choice; it offers a Python‑based scripting engine and a GUI for managing hotkeys. For simple key‑press simulations, xdotool or ydotool work well from the command line. Keyd is suited for low‑level key remapping, while Input Remapper handles game‑pad and joystick inputs. Python scripts can replace complex logic when you’re comfortable coding directly.

Dateien und Gewohnheiten aus AutoHotkey (AHK) mitnehmen

AutoHotkey scripts are plain text, but their syntax is unique to AHK. There is no automatic converter to Linux tools; you’ll need to rewrite the logic using the target’s language—AutoKey uses Python, xdotool uses shell commands, and pure Python scripts can be adapted directly. Most simple hotkey definitions copy over easily, while UI‑automation sections will require new commands specific to the chosen tool.

Direkter Vergleich

ProgrammLizenzFlatpakAktuelle VersionFunktionsabdeckungBewertung
xdotoolGPL-3.0—4.20260303.155%—
ydotoolGPL-3.0—1.0.440%—
AutoKeyGPL-3.0—0.96.060%—
Input RemapperGPL-3.0—2.2.140%—
PythonGPL-3.0—3.15.270%—

AutoHotkey (AHK): häufige Fragen

Can I run my existing AHK scripts on Linux?

Only through Wine, which may work for simple hotkeys but often fails for UI automation; native tools require rewriting the scripts.

Is AutoKey a drop‑in replacement for AHK?

It provides similar hotkey functionality and uses Python for scripting, so concepts transfer, but the syntax differs.

Do xdotool or ydotool support conditional logic?

They are command‑line utilities; you can add conditionals by wrapping them in shell or Python scripts.

Is there any paid version of AutoHotkey on Linux?

No, all the listed alternatives are free and open source.

Wie wichtig ist Ihnen AutoHotkey (AHK)?

Als Erste(r) bewerten

Kennen Sie eine bessere Alternative? Alternative vorschlagen