- 2018/05/30 : Add support rotate 0/ 90/ 180/ 270 degree for Pi3B and Pi3B+
- 2018/05/30 :Optimize the bug of making kernel panic
- 2018/06/01 : Add support rotate 0/ 90/ 180/ 270 degree for Pi zero and Pi B+
wget https://raw.githubusercontent.com/UCTRONICS/UCTRONICS_LCD35_RPI/master/installsudo chmod +x installsudo ./install
sudo raspi-config choose Advanced Operations -> Expand Filesystem sudo reboot sudo apt-get update sudo git clone https://github.com/UCTRONICS/UCTRONICS_LCD35_RPI.git cd UCTRONICS_LCD35_RPI sudo chmod 777 UCTRONICS_LCD_backup sudo chmod 777 UCTRONICS_LCD35_install sudo chmod 777 UCTRONICS_LCD_restore sudo chmod 777 UCTRONICS_LCD_hdmi sudo ./UCTRONICS_LCD_backup sudo ./UCTRONICS_LCD35_installwait a while the system will be installed and restarted automatically.
sudo ./UCTRONICS_LCD_restore sudo ./UCTRONICS_LCD_hdmi cd UCTRONICS_LCD35_RPI sudo unzip Xinput-calibrator_0.7.5-1_armhf.zip cd xinput-calibrator_0.7.5-1_armhf/ sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb-
- Execute the following commands to install the corresponding software
sudo apt-get update sudo apt-get install matchbox-keyboard sudo nano /usr/bin/toggle-matchbox-keyboard.sh-
- Copy the following contents to toggle box - keyboard. Sh, save the exit
#!/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-
- Execute the following command
sudo chmod +x /usr/bin/toggle-matchbox-keyboard.shsudo mkdir /usr/local/share/applicationssudo nano /usr/local/share/applications/toggle-matchbox-keyboard.desktop-
- Copy the following contents to toggle - matchbox - keyboard. Desktop, save 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-
- To perform the following command, note that this step must use the "PI" user permission, and if the administrator privileges are used, the file will not be found
nano ~/.config/lxpanel/LXDE-pi/panels/panel-
- Find similar commands (different versions of ICONS may differ)
Plugin {
type = launchbar
Config {
Button {
id=lxde-screenlock.desktop
}
Button {
id=lxde-logout.desktop
}
}-
- Add the following code to add a Button item
Button {
id=/usr/local/share/applications/toggle-matchbox-keyboard.desktop
}-
- To restart the system with the following command, you can see a virtual keyboard icon in the top left corner
sudo reboot-
step1: choose the Directory Tree -> / -> usr -> share ->applications folder
-
Step2: choose a icon you want to link
-
Step3: choose edit -> create link... ->Desktop ->OK
cd ~UCTRONICS_LCD35_RPI- For rotate 0 :
sudo chmod +x UCTRONICS_LCD35_install
sudo ./UCTRONICS_LCD35_install - For rotate 90 :
sudo chmod +x UCTRONICS_LCD35_rotation_90_install
sudo ./UCTRONICS_LCD35_rotation_90_install For rotate 180 :
sudo chmod +x UCTRONICS_LCD35_rotation_180_install
sudo ./UCTRONICS_LCD35_rotation_180_installFor rotate 270 :
sudo chmod +x UCTRONICS_LCD35_rotation_270_install
sudo ./UCTRONICS_LCD35_rotation_270_install





