Duet3 + Pi4 + HDMI Touchscreen virtual keyboard

  • Does anyone know how to enable a virtual keyboard for use when trying to enter commands into the Console or main tab input boxes?

    Thanks in advance


  • sudo apt-get install matchbox-keyboard

    More info here

    It is not quite as automatic as most tablet "auto appear / auto hide". There may be newer (better) software out there, you may want to ask on a Pi forum.

  • Other alternatives are onboard and florence. Both have an auto-hide feature. But I never used either keyboard and thus cannot say much about their auto-hide so YMMV.

  • @Danal Tried the matchbox one and it doesn't pop up when needed.

  • Yeah, I was afraid of that. apt-get remove it, and then try the ones @wilriker wilriker suggested.

  • tried both onboard and florence bu didn't have any joy with themProbably my total ignorance when it comes to linux mind. so any other suggestions gratefully received?

  • Hi.
    Maybe Chrishamm could put a keyboard into the next DWC.


  • Hi, not the best solution, but I'm booting into the duet web page using chromium in kiosk mode and using a virtual keyboard add-in for chrome.

    Still have some issues though... If you find something better I would like to know 🙂

  • I've tried onboard and florence and while they worked OK in the native apps, they didn't work do well in chrome. So far the "Google Input Tools" extension works OK but you have to use the extension's menu to trigger the keyboard. The best one I've found is "Touch Kiosk Keyboard". There are several forks of this but the version I have is "third" generation version 1.11.3.

  • I have the Pi + screen in the front panel anyway, so to make it useful I tried setting up DWC using chromium-browser in kiosk mode:

    unclutter -idle 0.5 -root &
    sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences
    sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences
    /usr/bin/chromium-browser --noerrdialogs --force-device-scale-factor=0.7 --disable-infobars --kiosk

    Runs fairly OK:

    alt text

    Except for two things:

    • The virtual keyboard. I had no luck using onboard and matchbox. I tried several Chrome extensions including 'Touch Kiosk Keyboard v1.11.3' and 'Virtual Keyboard' (which seems to be the same thing). It pops up, when I enter numbers or text the text appears in the DWC input field, but somehow I am unable to 'enter' the value/text. Not by pressing the 'enter' key in the keyboard, not by pressing 'send' if I want to enter a G/M code. It just does nothing.
      This seems to be a DWC (2.0.6) thing; in other websites such as www.google.com it works.

    • I would like to have a 'drag to scroll', like you do on Android. Cannot get that to work either.

    Anyone got the above two things to work?

  • Wow, force scale < 1. You must have a physically big screen. I'm running scale 3 on a seven inch.

    To your actual question: I have not looked at V keyboards yet, may do so this weekend.

Log in to reply