-
Notifications
You must be signed in to change notification settings - Fork 92
X: Setup: Boot to Browser (Wheezy & KWEB)
Paul de Vries edited this page Jun 19, 2016
·
3 revisions
kweb3 requires OctoPrint 1.2.9 and TouchUI 0.3.2, for older versions install Iceweasel
-
Make sure you're up-to-date with packages:
sudo apt-mark hold raspberrypi-bootloader sudo apt-get update sudo apt-get upgrade
-
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
-
Install X.org and stuff:
sudo apt-get install matchbox xinit x11-xserver-utils unclutter
-
Run
sudo dpkg-reconfigure x11-common
and allow Anybody to run xinit. -
Get the TouchUI boot files:
git clone https://github.com/BillyBlaze/OctoPrint-TouchUI-autostart.git ~/TouchUI-autostart/ & cd ~/TouchUI-autostart/ & git checkout legacy
-
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
-
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:
-
Remove the old autostart files:
rm -rf ~/OctoPrint-TouchUI-autostart/
-
Continue on to Fresh install and skip to step 6.