Search code examples
javascriptlinuxraspberry-pielectronraspbian

On Screen Keyboard Pop Up Automatically


I'm building an application with Electron running on a Raspberry Pi. I want an on screen keyboard to pop up automatically whenever a textbox is selected. How can I accomplish this? Either a Linux or a JavaScript solution would work.


Solution

  • have you tried something like:

    <input type="text" onclick="require('child_process').exec('matchbox-keyboard');" />