Made a proof-of-concept hack to disable in and when an external keyboad gets connected.

It consists of a udev .rules file, a bash script and and application link for a "switch keyboard" app icon to toggle the setting by tapping on it.

@agx provided the information about the gsetting to use and Dorota helped me with information about the future of this function in squeekboard: source.puri.sm/Librem5/squeekb.

The files can be found here: codeberg.org/ChriChri/switch_k

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