LinuxAlternative

Windows · Ferramentas do Sistema

Melhores alternativas Linux ao AutoHotkey (AHK)

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

Atualizado em

Resposta rápida

A melhor alternativa Linux ao AutoHotkey (AHK) é o xdotool. Outras boas opções: ydotool, AutoKey, Input Remapper.

5 alternativas Linux ao AutoHotkey (AHK)

  1. #1

    xdotool

    Código abertoGrátis
    10

    xDotool é uma utilidade de linha de comando que simula entrada de teclado e mouse, manipulação de janelas e injeção de eventos no 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…

    Cobertura de recursos55%
  2. #2

    ydotool

    Código abertoGrátis
    9

    ydotool é uma utilitário de linha de comando que simula entrada de teclado e mouse no 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…

    Cobertura de recursos40%
  3. #3

    AutoKey

    Código abertoGrátis
    8

    AutoKey é uma ferramenta de automação de desktop para Linux que permite criar scripts e atalhos para automatizar tarefas repetitivas.

    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…

    Cobertura de recursos60%
  4. #4

    Input Remapper

    Código abertoGrátis
    6

    Input Remapper lets you map keyboard and mouse inputs to other actions on Linux, replacing Logitech G Hub's device configuration.

    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…

    Cobertura de recursos40%
  5. #5

    Python

    Código abertoGrátis
    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…

    Cobertura de recursos70%

O que é o 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.

O que um substituto do AutoHotkey (AHK) precisa fazer

  • 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

Dá para usar o AutoHotkey (AHK) no 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.

Qual alternativa escolher?

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.

Levando seus arquivos e hábitos do 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.

Comparação lado a lado

AplicativoLicençaFlatpakVersão mais recenteCobertura de recursosAvaliação
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): perguntas frequentes

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.

Qual a importância do AutoHotkey (AHK) para você?

Seja o primeiro a avaliar

Conhece uma alternativa melhor? Sugerir uma alternativa