OctopPrint with TFT

OctopPrint with TFT
After seeing the 3.5″ PiTFT OctoPrint Rig on Thingiverse I bought this 3,5 TFT from aliexpress and wanted to use it with Octopi and the Touch UI plugin.
But how could it be different, the simple plug and play I hoped for was not possible.
So here is the way i got it to work:
  • Download the Octopi Image – http://octoprint.org/
  • Put it on an SD card and edit the network config
  • Boot it up and do the usual raspi-config stuff
  • Install TouchUI from the Octoprint Plugin-Manager
  • Install everything you need for the GUI:
    sudo apt-get update && sudo apt-get install alacarte desktop-base fonts-dejavu fonts-sil-gentium-basic gksu gnome-icon-theme gnome-themes-standard-data gtk2-engines libgl1-mesa-dri libgles1-mesa libgles2-mesa libpangox-1.0-0 lightdm lxappearance lxappearance-obconf lxde lxde-common lxde-core lxde-icon-theme lxinput lxpanel menu-xdg pcmanfm raspberrypi-net-mods raspberrypi-ui-mods xcompmgr xdg-utils xinit xserver-xorg xserver-xorg-video-fbdev xserver-xorg-video-fbturbo claws-mail gpicview leafpad lxrandr lxtask lxterminal openbox pi-package rc-gui xarchiver xpdf policykit-1 raspberrypi-artwork rpi-update


  • Download the Display drivers:
    wget http://www.waveshare.com/w/upload/3/37/LCD-show-151102.tar.gz
  • Install the display drivers following this website:  – http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)#Driver
  • Install Chromium:
    sudo apt-get update
    wget -qO - http://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
    echo "deb http://dl.bintray.com/kusti8/chromium-rpi jessie main" | sudo tee -a /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get install chromium-browser -y


  • Edit this file:
    sudo nano /home/pi/.config/lxsession/LXDE-pi
    @lxpanel --profile LXDE-pi
    @pcmanfm --desktop --profile LXDE-pi
    @xscreensaver -no-splash
    @xset s off
    @xset -dpms
    @xset s noblank
    @sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
    @chromium-browser --noerrdialogs --kiosk
  • Reboot and hopefully enjoy.
Lösung zu: The Octoprint server is currently not running
Venedig 16 – Tag 1: Brügge nicht sehen und nicht sterben

Kommentar verfassen