Linux 下有没有类似于 AutoHotKey 这样的软件?

2016-08-20 14:35:04 +08:00
 zmrenwu
AutoHotKey 是 window 平台的一个热键脚本,可以为设定的热键绑定命令,最近迁移到 ubuntu ,求问 LINUX 平台有没有类似软件?
7166 次点击
所在节点    Linux
8 条回复
megatron
2016-08-20 15:39:33 +08:00
有一个 autokey ,功能远远不如 autohotkey 。
hei1000
2016-08-20 18:01:16 +08:00
来自 http://unix.stackexchange.com/questions/165124/autohotkey-equivalent

There's a port of AutoHotKey to Linux called IronAHK and a similar tool called Autokey. I haven't used either, I don't know how well they work.

Other than such programs, you won't find exactly the same kind of automation tools. The basic user automation tool on unix systems is the shell. The shell is the glue that combines other tools: it can launch external programs and control how they exchange data. The shell itself doesn't include anything to manipulate GUI concepts like windows and the mouse pointer¹. What you do is call specialized tools in a shell script, in particular xdotool to manipulate windows, and inject keystrokes and mouse events.
zhidian
2016-08-20 19:22:38 +08:00
Windows 是一个平台, Linux 界面有各种各样……估计没有跟 AutoHotkey 一个级别的工具。
rainysia
2016-08-20 21:27:31 +08:00
linux 下直接 keyboard 设全局热键绑定就行了啊, 或者 window 里面设置窗口全局快捷键。
不需要 AHK
wsy2220
2016-08-21 17:11:54 +08:00
xbindkeys
searene
2016-08-21 22:16:22 +08:00
xcape
greenskinmonster
2016-08-22 11:41:41 +08:00
Wine 下面可以运行 AutoHotkey
原声还有 wmctrl , Devil's Pie
zmrenwu
2016-08-22 19:50:37 +08:00
@zhidian 恩,其实我的需求也不复杂,就是能够绑定热键就行,比如按某个键打开常用文件夹,按某个键打开浏览器进入 google ,按某个键打开某个应用等。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/300619

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX