AutoKey as a Linux alternative to BetterTouchTool
Updated
Our verdict
AutoKey is a partial replacement for BetterTouchTool, suitable for users who prioritize scripting and text expansion over hardware-specific gestures. It handles global hotkeys and automation well but lacks native trackpad gesture support. If your workflow relies heavily on mouse gestures or advanced window tiling, AutoKey alone is insufficient. You should pair it with Input Remapper for gestures and a dedicated tiling window manager. It is best for Python-savvy users who want to automate repetitive tasks via scripts rather than relying on a visual configuration interface.
- License
- GPL-3.0
- Price
- Free
- Latest version
- 0.96.0
- Rating
- —
What works the same
- Global hotkey triggering for scripts and actions
- Automation of repetitive tasks via custom logic
- Context-sensitive triggers based on active window or application
- Extensibility through custom code (Python vs. JavaScript/AppleScript)
What is different
- No native support for trackpad or mouse gesture recognition
- Lacks built-in window tiling and management capabilities
- Requires manual Python scripting instead of a visual drag-and-drop interface
- Lower level of integration with hardware input devices like touchpads
Opening your BetterTouchTool files
There is no direct file compatibility between BetterTouchTool and AutoKey. BetterTouchTool configurations are stored in proprietary JSON or plist formats that AutoKey cannot read or import. You will need to manually recreate your workflows by translating BetterTouchTool triggers and actions into AutoKey Python scripts or text expansions.
Switching from BetterTouchTool to AutoKey, step by step
- Install AutoKey from your distribution's package manager.
- Identify core BetterTouchTool workflows that rely on hotkeys or text expansion.
- Create corresponding AutoKey phrases for text expansion needs.
- Write Python scripts to replicate complex automation logic.
- Use Input Remapper separately to handle trackpad and mouse gestures.
- Test and refine scripts for latency and reliability.
Key features of AutoKey
- Python-based scripting engine
- Global hotkeys and key sequences
- Text expansion and clipboard management
- Script grouping and tagging
- Integration with X11 and Wayland
- Run scripts on startup or on demand
How to install AutoKey on Linux
sudo apt install autokeysudo apt install autokeysudo dnf install autokeyFrequently asked questions
Can AutoKey handle trackpad gestures?
No, AutoKey does not natively support trackpad or mouse gestures. You must use a separate tool like Input Remapper to capture gestures and trigger AutoKey scripts via hotkeys.
Does AutoKey work on Wayland?
Yes, AutoKey supports Wayland, though some features may be limited compared to X11 depending on your compositor. Global hotkeys generally work well on modern Wayland setups.
Is AutoKey better than BetterTouchTool for window management?
No. AutoKey is an automation tool, not a window manager. For tiling and window management, you should use a dedicated tool like i3, sway, or a tiling extension for your desktop environment.