use a BT keyboard
I tried to make gtk3 GUI apps with ruby on termux, apparently termux now supports this new mode that works in the browser, but some libs seem to be missing! I think that would be a cool platform.
A laptop keyboard is usually a half-inch or so off the table surface, as it sits on top of the laptop base.