I've just installed the last Ubuntu version with KDE.

I would love to use my convertible computer also in tablet mode but it seems not working at the moment. Is there any additional package you suggest to make it work, like for instance virtual keyboards, or something else that automatically detect tabled mode and starts the virtual keyboard?



This stuff is implemented, with a few caveats:

  • It only works when using Wayland. On X11 there seem to be some ways to work around that though.
  • The virtual keyboard only works for Qt apps, although there is ongoing work to improve this
  • The tablet mode detection requires support for the hardware in the kernel, which sadly is missing sometimes

Onboard can do this. Add it to your tray or start it automatically. Now whenever input is requested by any application, onboard will open automatically.

  • I'm trying onboard, but there is no automatic way to make it start.. I have added an icon in the bar, but it's not the same..
    – krimup
    May 15 '20 at 18:57
  • you can start it on startup (using your DE, for GNOME System > Preferences > Startup Applications.) Then configure onboard: Settings -> Auto-show -> Show automatically when editing text and in the convertible devices tab: Auto-show only in tablet mode.
    – nee6AGag
    May 17 '20 at 8:24
  • I'm on KDE.. it's already enabled but unfortunately it doesn't work :/
    – krimup
    May 19 '20 at 17:58
  • 1
    I'll give you best answer anyway.. 2 weeks have passed, no solution :)
    – krimup
    May 19 '20 at 17:58

Not sure if u are still searching for a way but one simple solution is adding the following as the last line in your .bashrc (~/.bashrc):

onboard &

For convertibles one can use xinput test-xi2 --root to detect if the display rotates "for me device 3 will returns some key presses" and start onboard / kill it giving a simple way of making tablet mode if the in build one is not working!

But its helpful to have the icon somewhere so you can press it in some cases when the app doesn't support qt. ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.