LinuxAlternative

Windows · System Tools

Mejores alternativas Linux a AutoHotkey (AHK)

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

Actualizado el

Respuesta rápida

La mejor alternativa Linux a AutoHotkey (AHK) es xdotool. Otras buenas opciones: ydotool, AutoKey, Input Remapper.

5 alternativas Linux a AutoHotkey (AHK)

  1. #1

    xdotool

    Código abiertoGratis
    10

    xDotool es una utilidad de línea de comandos que simula la entrada de teclado y ratón, la manipulación de ventanas y la inyección de eventos en 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 funciones55%
  2. #2

    ydotool

    Código abiertoGratis
    9

    ydotool es una utilidad de línea de comandos que simula la entrada de teclado y ratón en 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 funciones40%
  3. #3

    AutoKey

    Código abiertoGratis
    8

    AutoKey es una herramienta de automatización de escritorio para Linux que te permite crear scripts y atajos de teclado para automatizar tareas 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 funciones60%
  4. #4

    Input Remapper

    Código abiertoGratis
    6

    Input Remapper te permite asignar entradas de teclado y ratón a otras acciones en Linux, reemplazando la configuración de dispositivos de 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…

    Cobertura de funciones40%
  5. #5

    Python

    Código abiertoGratis
    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 funciones70%

¿Qué es 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.

Lo que debe hacer un sustituto 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

¿Se puede usar AutoHotkey (AHK) en 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.

¿Qué alternativa elegir?

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.

Migrar tus archivos y hábitos de 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.

Comparativa lado a lado

AplicaciónLicenciaFlatpakÚltima versiónCobertura de funcionesValoración
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): preguntas frecuentes

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.

¿Qué importancia tiene AutoHotkey (AHK) para ti?

Sé el primero en valorar

¿Conoces una alternativa mejor? Sugerir una alternativa