Skip to content

Instantly share code, notes, and snippets.

@siberex
Last active June 28, 2024 21:01
Show Gist options
  • Save siberex/8060c63e13229e4496dec0865ce79412 to your computer and use it in GitHub Desktop.
Save siberex/8060c63e13229e4496dec0865ce79412 to your computer and use it in GitHub Desktop.
Raspberry Pi onscreen keyboard
#!/bin/bash
# apt install -y wvkbd
PID="$(pidof wvkbd-mobintl)"
if [ "$PID" != "" ]; then
killall wvkbd-mobintl
else
wvkbd-mobintl -L 300 --landscape-layers full,special
fi
# ~/Desktop/wvkbd.desktop
[Desktop Entry]
Name=Toggle wvkbd Keyboard
Exec=/home/pi/onscreen-keyboard/toggle-wvkbd.sh
Type=Application
Terminal=false
Icon=/home/pi/onscreen-keyboard/keyboard.png
Categories=Utility
X-MB-INPUT-MECHANISM=True
Name[en_US]=Toggle wvkbd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment