LinuxAlternative
AutoKeyLinux vs AutoHotkeyWindows

AutoKey como alternativa Linux ao AutoHotkey

Atualizado em

Nossa avaliação

AutoKey can serve as a practical replacement for many AutoHotkey use‑cases on Linux, especially for users who need simple hotkeys, text expansion, and basic GUI automation. It excels when the workflow stays within X11/Wayland applications and the scripting can be expressed in Python. Power users who rely on AHK's extensive library of Windows‑specific commands, deep COM interaction, or complex macro recording will find AutoKey lacking, so it fits best for developers and sysadmins who want a lightweight, scriptable automation tool on Linux.

Cobertura de recursos68%
Licença
GPL-3.0
Preço
Grátis
Versão mais recente
0.96.0
Avaliação
—

O que funciona igual

  • Both provide global hotkeys and key‑sequence triggers
  • Both allow scripting to automate repetitive tasks
  • Both support text expansion and clipboard manipulation
  • Both can run scripts at login or on demand

O que muda

  • AutoKey uses Python for scripting, while AutoHotkey has its own proprietary language
  • AutoKey lacks built-in macro recording of mouse movements and clicks
  • AutoKey cannot directly manipulate Windows GUI elements or use COM/ActiveX
  • AutoKey’s integration with Wayland is still limited compared to X11
  • AutoKey does not provide a large community‑contributed script library like AHK

Abrindo seus arquivos do AutoHotkey

AutoKey cannot open or import native AutoHotkey *.ahk files. The two scripting languages are unrelated, so migration requires manual rewriting of scripts in Python. No automated conversion tool is known.

Trocando o AutoHotkey pelo AutoKey, passo a passo

  1. Identify the AHK scripts you rely on and list their functions.
  2. Map each function to an equivalent AutoKey capability (hotkey, text expansion, etc.).
  3. Rewrite the logic in Python using AutoKey's API, testing each script incrementally.
  4. Create corresponding hotkey definitions in AutoKey's GUI or config files.
  5. Place the new scripts in ~/.config/autokey/data and enable them.
  6. Remove or disable the original AHK scripts once the new ones work reliably.

Principais recursos do AutoKey

  • Mecanismo de scripts baseado em Python
  • Atalhos globais e sequências de teclas
  • Expansão de texto e gerenciamento da área de transferência
  • Agrupamento e marcação de scripts
  • Integração com X11 e Wayland
  • Execução de scripts na inicialização ou sob demanda

Como instalar o AutoKey no Linux

Ubuntu / Mintsudo apt install autokey
Debiansudo apt install autokey
Fedorasudo dnf install autokey

Perguntas frequentes

Can AutoKey control mouse movements?

No, AutoKey does not have built‑in mouse automation; you would need an external tool like xdotool.

Does AutoKey work on Wayland?

It works on Wayland for basic hotkeys, but some features (especially global key capture) are more reliable under X11.

Is there a way to run AutoKey scripts in the background?

Yes, AutoKey runs as a daemon; scripts can be triggered by hotkeys or launched manually without a visible window.

Outras 3 alternativas ao AutoHotkey

Todas as alternativas ao AutoHotkey

Avalie o AutoKey

Seja o primeiro a avaliar
É um bom substituto do AutoHotkey? 7