I’m having a problem after the stable update of 2021-04-09. It’s about the onscreen keyboard of my 2-in-1 HP Pavilion x2. I’m using Gnome with Wayland.
After the update, the onscreen keyboard doesn’t register any key other than the characters. So, no return, delete, etc, making it unusable. The problem is that I don’t even know where to start looking, since the keyboard is part of gnome.
Does anyone have an idea of where I should look in order to troubleshoot the issue? Which logs could have some info about it? I haven’t found much info on the internet about this in particular, and none of the replacements really integrate with the system in a satisfactory way.
I’ve been digging a little deeper and apparently solved the issue (fingers crossed). Right now, the on-screen keyboard behaves as expected. Here’s what I did, I hope it helps anyone running into the same problem:
Journalctl showed a keyboard related problem with this text: “JS ERROR: Error: Argument wc:value is out of range for uint32”
A bit of research showed that this is related to gjs (Javascript Bindings for GNOME)
I downloaded and manually installed a previous version of gjs (from 1.68.0-2 to 1.68.0-1). Sadly, this broke many gnome elements that depend on gjs to function, so I was greeted with a “Unable to log in” screen.
I logged in a tty (Ctrl + Alt + F3) and installed gjs-git via pacman. Rebooted and faced the same screen. Then I installed gjs-dev through pacman. After a reboot, the system logged in correctly and the on screen keyboard works fine now.
Now, if I do a sudo pacman -Syu, I get the choice to change gjs-dev for gjs-git, which I haven’t done. It doesn’t seem to get in the way of any other update, so I’ll keep it this way.