Kiosk 模式下的虚拟键盘 Raspberry Pi Raspbian

Virtual keyboard in Kiosk mode Raspberry Pi Raspbian

我构建了一个 Web 应用程序,我正在 运行 将其安装在 Raspberry Pi 和 Raspbian 的 KIOSK 模式下。 (还有 10 英寸触摸屏)

想法是将它安装在墙上,不连接键盘或鼠标。 但我现在遇到的问题是我需要某种虚拟键盘来始终显示或仅在输入时显示。

我尝试过使用 Matchbox 键盘,并且更改了布局以满足我的需要,但是当我尝试 运行 它自动启动时,它只会在角落里以很小的尺寸启动。

我也试过手动启动键盘,然后全屏启动浏览器,但他们不想互相玩。

所以基本上我想知道是否有人有任何聪明的解决方案来解决我的问题,或者您是否可以推荐一些其他可能有用的键盘。

此致,

丹尼尔

您是否正在使用 matchboard-keyboard 的 -d 选项....

我的工作正常 我是 运行 chromium inside nodm matchbox-window-manage over x11 这​​是我的 xsession 文件 我必须像大多数 android...

一样更改键盘布局
    #!/bin/bash
    #Turn off Power saver and Screen Blanking 
    sleep 1;xset s off -dpms 
    sleep 1;xset s noblank 
    #sleep 1; xset s dpms 20 20

    # If Chrome crashes (usually due to rebooting), clear the crash flag so we don't have the annoying warning bar 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 
    matchbox-keyboard -d & 
    #Execute window manager for full screen 
    exec matchbox-window-manager -use_titlebar no &

    #Execute Browser with options 
    chromium-browser --noerrdialogs --disable-pinch --kiosk --incognito file:///home/pi/mockup/index.html