cross-posted from: https://swg-empire.de/post/842090

Finally the Onboard on screen keyboard works on Wayland

This is too great not to share. Wayland devs hate this trick! I’ll copy what I did from the bug report.

As a workaround you can use https://github.com/Supreeeme/extest to make Onboard work. Compile it as a 64 bit library and launch onboard with

env LD_PRELOAD=/usr/lib64/libextest.so onboard

If you want to use it with KDE you can add

X-KDE-Wayland-VirtualKeyboard=true

to its desktop-file.

I used kwin rules to get rid of window decorations and have it always on top without stealing focus. If someone knows how to make all other windows smaller when it’s active that would be great.

Only problem remaining is that sometimes the keys get stuck on touch input. At least on my Steam Deck on OpenSUSE.

    • Björn TantauOPA
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      No, not at all. Steam’s keyboard doesn’t work on Plasma-Wayland at all. And you have to make some manual adjustments to get Onboard to work.

      And I just found out that it doesn’t work on the lock screen so I will have to find another workaround for that.

      • woelkchen@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        21 days ago

        Steam’s keyboard doesn’t work on Plasma-Wayland at all.

        Steam Deck doesn’t use Plasma Wayland, so what is your post doing here? Once Valve ship a SteamOS version with Plasma 6 on Wayland, they’ll have a working solution.

        • Björn TantauOPA
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          21 days ago

          I’m not running SteamOS.

          I think they are waiting for Chromium to fully support Wayland before they ship Steam for Wayland.

          But by now I’ve also found a workaround to get the Steam keyboard working on Wayland.

          https://sopuli.xyz/post/11828655

          • woelkchen@lemmy.world
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            20 days ago

            I’m not running SteamOS.

            And I was asking why you were posting that in the Steam Deck community. It’s off topic.

            • Björn TantauOPA
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              20 days ago

              What do you care about a year old post?

              I’m doing all of this on a Steam Deck.