V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
zmrenwu
V2EX  ›  Linux

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

  •  
  •   zmrenwu · 2016-08-20 14:35:04 +08:00 · 7155 次点击
    这是一个创建于 2815 天前的主题,其中的信息可能已经有所发展或是发生改变。
    AutoHotKey 是 window 平台的一个热键脚本,可以为设定的热键绑定命令,最近迁移到 ubuntu ,求问 LINUX 平台有没有类似软件?
    8 条回复    2016-08-22 19:50:37 +08:00
    megatron
        1
    megatron  
       2016-08-20 15:39:33 +08:00
    有一个 autokey ,功能远远不如 autohotkey 。
    hei1000
        2
    hei1000  
       2016-08-20 18:01:16 +08:00 via iPhone
    来自 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
        3
    zhidian  
       2016-08-20 19:22:38 +08:00
    Windows 是一个平台, Linux 界面有各种各样……估计没有跟 AutoHotkey 一个级别的工具。
    rainysia
        4
    rainysia  
       2016-08-20 21:27:31 +08:00
    linux 下直接 keyboard 设全局热键绑定就行了啊, 或者 window 里面设置窗口全局快捷键。
    不需要 AHK
    wsy2220
        5
    wsy2220  
       2016-08-21 17:11:54 +08:00
    xbindkeys
    searene
        6
    searene  
       2016-08-21 22:16:22 +08:00
    xcape
    greenskinmonster
        7
    greenskinmonster  
       2016-08-22 11:41:41 +08:00
    Wine 下面可以运行 AutoHotkey
    原声还有 wmctrl , Devil's Pie
    zmrenwu
        8
    zmrenwu  
    OP
       2016-08-22 19:50:37 +08:00
    @zhidian 恩,其实我的需求也不复杂,就是能够绑定热键就行,比如按某个键打开常用文件夹,按某个键打开浏览器进入 google ,按某个键打开某个应用等。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1520 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:40 · PVG 00:40 · LAX 09:40 · JFK 12:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.