LinuxAlternative

Windows · Outils système

Meilleures alternatives Linux à AutoHotkey (AHK)

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

Mis à jour le

En bref

La meilleure alternative Linux à AutoHotkey (AHK) est xdotool. Autres bonnes options : ydotool, AutoKey, Input Remapper.

5 alternatives Linux à AutoHotkey (AHK)

  1. #1

    xdotool

    Open sourceGratuit
    10

    xDotool est un utilitaire en ligne de commande qui simule les entrées clavier et souris, la manipulation des fenêtres et l'injection d'événements sur X11.

    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…

    Couverture fonctionnelle55%
  2. #2

    ydotool

    Open sourceGratuit
    9

    ydotool est un utilitaire en ligne de commande qui simule les entrées clavier et souris sur Linux.

    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…

    Couverture fonctionnelle40%
  3. #3

    AutoKey

    Open sourceGratuit
    8

    AutoKey est un outil d'automatisation de bureau pour Linux qui vous permet de créer des scripts et des raccourcis clavier pour automatiser des tâches répétitives.

    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…

    Couverture fonctionnelle60%
  4. #4

    Input Remapper

    Open sourceGratuit
    6

    Input Remapper vous permet de mapper les entrées clavier et souris vers d'autres actions sous Linux, remplaçant ainsi la configuration d'appareil fournie par 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…

    Couverture fonctionnelle40%
  5. #5

    Python

    Open sourceGratuit
    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…

    Couverture fonctionnelle70%

Qu’est-ce que 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.

Ce que doit savoir faire un remplaçant de AutoHotkey (AHK)

  • 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

Peut-on utiliser AutoHotkey (AHK) sous 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.

Quelle alternative choisir ?

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.

Migrer vos fichiers et habitudes AutoHotkey (AHK)

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.

Comparatif côte à côte

ApplicationLicenceFlatpakDernière versionCouverture fonctionnelleNote
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) : questions fréquentes

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.

AutoHotkey (AHK) est-il important pour vous ?

Soyez le premier à noter

Vous connaissez une meilleure alternative ? Proposer une alternative