Skip to content

X: Setup: Boot to Browser (Wheezy & KWEB)

Paul de Vries edited this page Jun 19, 2016 · 3 revisions

DEPRECATED

This is a guide for Debian Wheezy

kweb3 requires OctoPrint 1.2.9 and TouchUI 0.3.2, for older versions install Iceweasel

Fresh install

  1. Make sure you boot to the command line

  2. Make sure you're up-to-date with packages:

    sudo apt-mark hold raspberrypi-bootloader
    sudo apt-get update
    sudo apt-get upgrade
    
  3. Install the Minimal Kiosk Browser

    wget -P /home/pi/ http://steinerdatenbank.de/software/kweb-1.6.8.tar.gz
    tar -xzf /home/pi/kweb-1.6.8.tar.gz
    cd /home/pi/kweb-1.6.8
    ./debinstall
    
  4. Install X.org and stuff:

    sudo apt-get install matchbox xinit x11-xserver-utils unclutter
    
  5. Run sudo dpkg-reconfigure x11-common and allow Anybody to run xinit.

  6. Get the TouchUI boot files:

    git clone https://github.com/BillyBlaze/OctoPrint-TouchUI-autostart.git ~/TouchUI-autostart/	& cd ~/TouchUI-autostart/ & git checkout legacy	
    
  7. Copy service file and register it as auto boot:

    sudo cp ~/TouchUI-autostart/touchui.init /etc/init.d/touchui
    sudo chmod +x /etc/init.d/touchui
    sudo cp ~/TouchUI-autostart/touchui.default /etc/default/touchui
    sudo update-rc.d touchui defaults
    
  8. Reboot

  • Do not remove the directory ~/OctoPrint-TouchUI-autostart and if you change the path of this directory then edit the file /etc/default/touchui with the new path.

  • If you would like to stream your webcam to a touchscreen, then we recommend installing the SnapStream plugin from OctoPrints repository. (Lower CPU usage)

  • Troubleshooting:

Upgrade from Iceweasel

  1. Install the Minimal Kiosk Browser

  2. Remove the old autostart files:

    rm -rf ~/OctoPrint-TouchUI-autostart/
    
  3. Continue on to Fresh install and skip to step 6.