Download: http://download.processing.org/processing-3.3.6-linux-armv6hf.tgz
Copy the processing-3.3.6-linux-armv6hf.tgz
to /media/internal/
Now connect via ssh or use the build in shell as described here (until 0:41): https://vimeo.com/198976244
In the terminal type:
sudo tar -xvzf /media/internal/processing-3.3.6-linux-armv6hf.tgz
sudo rm /media/internal/processing-3.3.6-linux-armv6hf.tgz
Now Processing is installed, there should be a folder in /home/pi called: processing-3.3.6
Add a Processing launcher script to /usr/bin:
sudo nano /usr/bin/processing
Put this text inside:
#! /bin/sh
#processing launch script
/home/pi/processing-3.3.6/./processing
Hit ctrl + x and y + enter to save file.
Make the file executable with:
sudo chmod +x /usr/bin/processing
remove .xsession file:
sudo rm /home/pi/.xsession
If you want to Autostart PocketVJ into processing, you have to edit /var/www/sync/rc.local.custom
:
sudo nano /var/www/sync/rc.local.custom
Edit the file as following:
#!/bin/bash
rm /home/pi/.xsession&
su -s /bin/bash -c startx pi&
exit 0
Hit ctrl + x and y + enter to save and exit.
Add processing to autostart at login:
sudo nano ~/.config/lxsession/LXDE/autostart
at the of the file, add processing
It should look something like that:
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
processing
again, hit ctrl + x and y + enter to save and exit.
Set the PocketVJ Autostart to custom, since you are still in Terminal, just type:
sudo cp /var/www/sync/rc.local.custom /etc/rc.local
Reboot your PVJ.
Now you can use PocketVJ as usual, when you want to autostart into processing mode, just go to ControlPanel, Autostart, and select: Custom
Some features might now start processing instead of launching, for example the impress presenter.
I will figure out a workaroud, for the moment, you just have to remove the processing
word in
~/.config/lxsession/LXDE/autostart
and everything goes back to normal.