Librem 5 Crimson keyboard selections

Trying to install keyboards using Settings>Keyboard on my Librem 5, but they’re not showing up in the globe. journalctl says the .json file associated with the keyboard is not found.

This is a Crimson flash installed using the recommended tool. Updated to the latest. I didn’t see this when I had apt sources updated to Crimson before. Am I somehow missing a package?

pureos phosh-osk-stub[1476]: Failed to load osk layout for xkb:us+l5: The resource at “/sm/puri/phosh/osk-stub/layouts/us+l5.json” does not exist

Ever since I reflashed and updated to Crimson, I’ve been unable to get Squeekboard working. This journalctl entry seems to show that the English(US)(Librem 5) keyboard isn’t installing through Settings>Keyboard.

Am I missing a package?

The error you’re showing is not Squeekboard but phosh-osk-stub. If you want to switch back to Squeekboard, you need to run sudo update-alternatives --config Phosh-OSK.

phosh-osk-stub (renamed to Stevia in later versions) does not support different keyboard layouts until Phosh 0.42.0. PureOS Crimson only has Phosh 0.34.0.

Customization is an open work item and the team there does not appear to be looking to implement this themselves: https://gitlab.gnome.org/World/Phosh/stevia/-/work_items/96.

1 Like

Thanks. Looks like the failure was to switch keyboards, although update-alternatives says I’m using squeekboard, it seems like it fails to start and falls back to phosh-osk-stub.
I’ll investigate further; it’s probably my squeekboard customizations.

Finally found the issue! I had somehow put a file called, "sm.puri.OSK0.desktop in .local/share/applications. Noticed journalctl output complaining about parsing the file, removed it, and I was able to switch between squeekboard and phosh-osk-stub.