Ubuntu 18.10 - cannot disable on-screen keyboard on touch screen laptop [duplicate]

Solution 1:

After several hours of investigation, it turns out I'm a moron and the Block Caribou extension actually does the job:

https://extensions.gnome.org/extension/1326/block-caribou/

I went deep into the nuts and bolts of the GNOME Shell source, came up with a solution, realized it was exactly the same as what this extension does, and then realized the extension didn't work when I tried it because I applied it wrong. facepalms

Anyway that should get it working. We should probably file a bug report with GNOME though because I agree it's basically unusable with this thing moving windows around all the time.

(even though the new OSK isn't Caribou, that extension just replaces the touchscreen check that automatically activates the keyboard with a function that always returns false. So it doesn't care that the OSK isn't Caribou any more).