14

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.

top 4 comments
sorted by: hot top controversial new old
[-] butter_fly@lemmy.ml 2 points 7 months ago

Is this exclusive to KDE? Can I use it in gnome?

[-] bjoern_tantau@swg-empire.de 1 points 7 months ago

Should work in Gnome, but I have no idea how that would clash with Gnomes own OSK and how to set it up to be always on top and stuff.

Let us know if you figure this out.

[-] bjoern_tantau@swg-empire.de 1 points 7 months ago

Just noticed that it doesn't work on KDE's lock screen. Hopefully I can find a workaround for that as well.

Any ideas?

[-] bjoern_tantau@swg-empire.de 1 points 7 months ago

Was easier than I thought. Just select Maliit as a virtual keyboard and start Onboard manually. If you tap with your finger in a text field Maliit will come up. When you click in a text field Onboard will open. But Maliit also works on the lock screen.

this post was submitted on 19 Apr 2024
14 points (88.9% liked)

KDE

5391 readers
65 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS