Hi everyone,
I just received my 13th Gen Framework 12 and installed Linux, specifically Zorin OS 18.1. Everything works perfect except for this one little thing that bugs me: the on-screen keyboard. I find not hiding the taskbar when not in use to be very annoying, since it wastes the precious screen space. But the taskbar is the only place I can put a button to activate the on-screen keyboard, and it’s not the most accessible thing in tablet mode. I was wondering if there was any way to completely disable the on-screen keyboard in laptop mode and activate it when a text box is selected when in tablet mode.
Thanks!
I think this would be achievable.
Firstly I would try installing Onboard, it’s the native onscreen keyboard for Mint (or maybe upstream Ubuntu or Debian) and it has a lot of configuration options. Hiding it for laptop mode would be a sensible option to have, and is perhaps worth a look.
The other thing is that switching to/from tablet mode is likely to generate desktop events. I think, more specifically speaking, this would arise from the keyboard folding back completely, which in most distros will disable it. I think that should be a catchable event.
Some cursory research suggests that the event you’re after is SW_TABLET_MODE and that the event stream can be examined with sudo libinput debug-events or sudo evtest. Worth a peek?