Linux 上的键盘和鼠标交互
我最近遇到了一个名为 AHK 的 Windows 库,它使我能够很好地控制与应用程序的交互。
Linux 世界里有类似的东西吗?
I recently came across a Windows library called AHK that gives me great control to interact with applications.
Is there an equivalent in the Linux world?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
有几个 autohotkey 到 Linux 的移植正在进行中。
这是我的:AutoHotkey 使用 winelib
源: ahkx.git
autohotkey 论坛
此外,您还可以查看 IronAhk、autokey 和 xdotool
There are several ports of autohotkey to linux in progress.
Here is mine: AutoHotkey using winelib
source: ahkx.git
autohotkey forum
Also, you can checkout IronAhk, autokey, and xdotool
不幸的是,没有什么比 Linux 上的 AutoHotkey 更棒了。然而,一个名为 xbindkeys 的程序将执行许多您可以在 AutoHotkey 中执行的键盘绑定操作。
There's nothing quite as awesome as AutoHotkey for Linux unfortunately. However a program called xbindkeys will do a lot of the keyboard bindings that you can do in AutoHotkey.
我认为 Linux 世界中没有与 AHK 相当的东西。您也许能够让它与 Wine 一起运行,如果您能接受挑战,您可以移植它,因为 C++ 源代码是可用的。
I don't think there is an equivalent to AHK in the Linux world. You might be able to get it to run with Wine, and if you were up to the challenge you could port it since the c++ source is availiable.
Autohotkey 在 Windows 中的出色表现在于它可以与 GUI 以及系统本身配合使用。我在 Linux 中还没有找到任何类似的东西。有一些热键应用程序和可以进行文本替换的应用程序,但没有像 Windows 上的 Autohotkey 这样的应用程序。
我不知道 IronAHK 是否仍处于 Alpha 阶段,还是已经被完全放弃了。最近没有听到太多消息。如果我没记错的话,自动键只是文本替换。
您可以在 Wine 中运行 Autohotkey,但据我所知,它失去了在该环境中操作 GUI 的能力,并且只能与 Wine 中运行的其他程序交互。
The thing Autohotkey does so well in Windows is work with the GUI as well as the system itself. I haven't found anything close to it in Linux. There are hotkey apps and apps that do text-replacement but nothing like Autohotkey on Windows.
I can't figure out if IronAHK is still in Alpha or it's abandoned altogether. Haven't heard much of anything lately. Autokey is just text-replacement if I recall correctly.
You can run Autohotkey in Wine but it loses the ability to manipulate the GUI in that environment and only can interact with other programs running in Wine as far as I know.
我当然会关注 Gnome-Do,它的功能与 Mac 上的 Quicksilver 非常相似。适用于 Linux 的出色启动器及更多功能。
I would certainly look at Gnome-Do on which functions much like Quicksilver on the Mac. Fantastic launcher and more for Linux.