• PlutoniumAcid@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    17 hours ago

    I wonder how hard it might be to build something like AHK for Linux.

    I’m a big fan of AHK myself, and my small scripts would be a real gap when I finally manage to kick Windows out.

    • unexposedhazard@discuss.tchncs.de
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      17 hours ago

      Basically all linux distros have a keyboard shortcut menu where you can add scripts and programs that do whatever you need. I have only used AHK once long ago, so i dont remember all that it does, but isnt that just all it is basically. The thing that makes AHK easy for people is all the publicly available scripts people made and published, not the application itself.

      • PlutoniumAcid@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        16 hours ago

        Among my primary uses is completely remapping the keyboard layout, from scan codes to international Colemak (like Dvorak but different).

        That means my script captures every alpha keystroke and sends something else instead.

        AHK is marvelous to run on otherwise locked-down corporate computers.

        While I’m at it, my AHK also tracks typing stats, just for fun.

          • PlutoniumAcid@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            10 hours ago

            I use a variety of laptops with their built-in keyboards, and sometimes with a variety of plain usb keyboards.

            It’s easy to run an AHK script on each machine, just for me. It’s not feasible to carry a special keyboard around.

            • dubyakay@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              4 hours ago

              QMK keyboards are not special. And you can buy one in any size, layout and portability.

              As someone familiar with Colemak & Dvorak, I’m surprised you are not familiar with custom mechanical keyboards. Check out r/mk on leddot.