← 返回命令列表

Linux command

autokey 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start AutoKey

autokey-gtk

Start AutoKey

autokey-qt

Start minimized

autokey-gtk --minimized

Start with verbose logging

autokey-gtk --verbose

Show configuration

autokey-gtk --configure

说明

AutoKey is a desktop automation utility for Linux that provides text expansion and hotkey-triggered automation. It supports both simple phrase replacement and complex Python scripting for advanced automation tasks. Phrases are text snippets that expand when you type an abbreviation. For example, typing "addr" could expand to your full address. Phrases support macros for dynamic content like dates, clipboard contents, or command output. Scripts use Python 3 for advanced automation including mouse clicks, keyboard simulation, window manipulation, and system commands. Scripts are triggered by abbreviations or hotkeys just like phrases. AutoKey comes in two variants: autokey-gtk for GTK-based desktops (GNOME, XFCE, MATE) and autokey-qt for Qt-based desktops (KDE Plasma). Both share the same configuration and scripting capabilities.

参数

-c, --configure
Open the configuration window on startup
-l, --verbose
Enable verbose debug logging
-m, --minimized
Start minimized to system tray
-h, --help
Display help message

FAQ

What is the autokey command used for?

AutoKey is a desktop automation utility for Linux that provides text expansion and hotkey-triggered automation. It supports both simple phrase replacement and complex Python scripting for advanced automation tasks. Phrases are text snippets that expand when you type an abbreviation. For example, typing "addr" could expand to your full address. Phrases support macros for dynamic content like dates, clipboard contents, or command output. Scripts use Python 3 for advanced automation including mouse clicks, keyboard simulation, window manipulation, and system commands. Scripts are triggered by abbreviations or hotkeys just like phrases. AutoKey comes in two variants: autokey-gtk for GTK-based desktops (GNOME, XFCE, MATE) and autokey-qt for Qt-based desktops (KDE Plasma). Both share the same configuration and scripting capabilities.

How do I run a basic autokey example?

Run `autokey-gtk` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c, --configure do in autokey?

Open the configuration window on startup