I’ve just switched over from Windows to Linux for my daily driver in the last few weeks, and after the initial learning curves everything seems pretty solid. The only thing I really, really need for some games is the ability to rebind keys that the game itself doesn’t allow. Examples would be Orcs Must Die 1 (no rebinding at all) or Dyson Sphere Program (my current issue) which has the E key hardcoded. I use ESDF for movement so I have to rebind pretty much every game.

I had tons of AutoHotKey scripts in Windows but I haven’t found anything comparable in Linux. What do you guys use? I’ve looked at AHK_X11 but every post I saw about it says it doesn’t work. I tried Autokey but found it clunky and it didn’t work properly in-game (micro-pauses between key repeats).

Really just looking for something that can easily rebind a few keys just for a game session. I know I’m going to have to learn xdotool and python for mouse stuff, that’s on my to-do list. :) But the vast majority of my games just need rebinding a few keys. Throw your wisdom at me. Thanks!

  • simple@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago

    I’ve never used it, but Espanso is a popular open-source alternative for AutoHotKey. Maybe that can work?

    • CarbonatedPastaSauce@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      That looks similar to the other one I tried, so I don’t think it will work. The problem comes into play when holding down a key - the text expanders generally won’t repeat the key properly to work in the game for continuous movement.

      Looks like a cool tool though and I’m going to check it out for other uses! Thanks!