How To Install Matchbox-Keyboard (En)
How To Install Matchbox-Keyboard (En)
This installation tutorial uses "2016-05-27-raspbian-jessie" version for testing. If use wheezy or
earlier image, then the step5 and step6 have different file paths, pls refer to the
virtual-keyboard official installation tutorial for specification.
Official reference address (English)
http://ozzmaker.com/virtual-keyboard-for-the-raspberry-pi/
Continue:
sudomake
sudo make install
#!/bin/bash
#This script toggle the virtual keyboard
PID=`pidof matchbox-keyboard`
if [ ! -e $PID ]; then
killall matchbox-keyboard
else
matchbox-keyboard -s 50 extended&
fi
Paste the following content, press ctrl + x and y, to save then exit
[Desktop Entry]
Name=Toggle Matchbox Keyboard
Comment=Toggle Matchbox Keyboard
Exec=toggle-matchbox-keyboard.sh
Type=Application
Icon=matchbox-keyboard.png
Categories=Panel;Utility;MB
X-MB-INPUT-MECHANSIM=True
How to install matchbox-keyboard 2016-08-31
6, create an icon on the taskbar (Note that in this step, must be "pi" user privileges,
nano ~/.config/lxpanel/LXDE-pi/panels/panel
7, find the resembles similar to the following command (default content may be different in
different Raspberry Pi versions)
Plugin {
type=launchbar
Config {
Button {
id=/usr/share/applications/lxde-x-www-browser.desktop
}
Button {
id=/usr/share/raspi-ui-overrides/applications/pcmanfm.desktop
}
Button {
id=/usr/share/raspi-ui-overrides/applications/lxterminal.desktop
}
Button {
id=/usr/share/applications/wolfram-mathematica.desktop
}
Button {
id=/usr/share/applications/wolfram-language.desktop
}
}
}
8, after modifying, run the following command and re-start the system; you will see a virtual
keyboard icon in taskbar on the screen normally.
sudo reboot
P.S. Log into via SSH to see how to change the size of the virtual keyboard
DISPLAY=:0.0 matchbox-keyboard -s 50 extended
DISPLAY=:0.0 matchbox-keyboard -s 100 extended