When doing the #deskhop to share keyboard/mouse between my #Librem5 and my notebook on the Librem5 still the on-screen keyboard (#osk) keeps popping up and takes away part of the small screen.

This can be disabled through gsettings but doing so each time when I place the phone beside my notebook is tiresome.

So I recovered some old proof of concept I had made, tested it and packaged it:

switch-keyboard installs an #udev rule that triggers when an external keyboard is connected and disables the osk. On disconnect it re-enables the osk and there is an entry for the menu included to just toggle the keyboard on and off just in case you're left without #osk after disconnecting an external keyboard.

Follow

@me Nice. That reminds me that I didn't do a video of gitlab.gnome.org/guidog/phosh- yet which does something similar on the OSK level (allowing you to toggle this on/off via gsetting).

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml