• Scrath@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    16 hours ago

    I also use wayland on both my laptop and desktop.

    The only issue I have is the lack of some utility which I can use to type my german umlauts using macros. On windows I had an autohotkey script so that alt + a would become ä and so on.

    I’ve tried a couple programs that work on wayland, but without success in getting them to work how I wanted. The last time I checked there were a couple promising candidates left that are explicitly not working on Wayland though.

    • gabmus@retrolemmy.com
      link
      fedilink
      arrow-up
      3
      ·
      7 hours ago

      This reads like quite a different workflow, but AFAIK the standard in both x and wayland for inserting special characters is using a compose key. You can set up a key as the compose key in the keyboard settings of any de/wm/compositor (right alt in my case) and use it in a key sequence to assemble special characters. I use it all the time to type italian accent characters on a us keyboard and it’s always dependable and quite intuitive even for characters I don’t regularly use.

      Some examples:

      • compose a "ä
      • compose e 'é
      • compose c ,ç
      • compose o o°
      • compose - >

      I’m not saying your use case is invalid, but it falls well into unsupported territory I feel like, and reminds me of this.

      xkcd 1172 - "Workflow"

      This said, there must be a way for an application to simulate input, that’s what virtual keyboards do, including steam’s virtual keyboard which is not integrated in the desktop environment, so your workflow can likely be replicated. You might need to spend some time finding the right tool for it, or possibly creating your own, but wayland and plasma wayland in particular have all the bits in place to make this happen.

      • Scrath@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        3 hours ago

        I am aware of the compose key, I was just never a fan of it. I have it set up to replicate my previous autohotkey script on my laptop but I found that in some rare cases, pressing the next key for a word I am typing would change the letter from what I intended to something else.

        Using the compose key like ‘compose + " a’ also feels unintuitive to me and introduces one more key for me to press, though I could likely get used to it with some effort.

    • Shayeta@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 hours ago

      Your best bet might be a keyboard with QMK/VIA support. Bake those shortcuts directly into the keyboard firmware.