Hello to everyone, I have processing on my Raspberry pi. I want to export the Sketch I made in Processing and make it run on my PI without the StartX environment.
What format should I export it in and How can I call the file from the command line without the StartX
I would also like to AutoStart the file sooner after I figure out how to open it in the command line.
Can you guys help me out?
ALSO: why is my processing sketch slow when I am playing it in Processing PDE environment?
Re: Run Processing Sketch without Startx
You can't, sorry. Processing requires X11 because it either runs under:
cheers,
Stewart
- Java — in the case of “classic” Processing
- A modern web browser - for Processing.js
cheers,
Stewart
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him
Pronouns: he/him
Re: Run Processing Sketch without Startx
X can be used with any single program without starting the desktop using the xinit command and a simple script file. For a simple one window / one application environment, install matchbox-window-manager. Create a small script file in your home folder:
Make it executable and start you app with
xinit ./scriptname
Code: Select all
#!/bin/sh
matchbox-window-manager &
yourapp
xinit ./scriptname
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Re: Run Processing Sketch without Startx
I am running on Oracle Java but still its too damn slow to run a rotating matrix.
Try to run ControlP5Matrix on your raspberry pi and tell me if its slow or not.
Try to run ControlP5Matrix on your raspberry pi and tell me if its slow or not.
Re: Run Processing Sketch without Startx
I will try to do this. Can this be automatically started on boot up?gkreidl wrote:X can be used with any single program without starting the desktop using the xinit command and a simple script file. For a simple one window / one application environment, install matchbox-window-manager. Create a small script file in your home folder:Make it executable and start you app withCode: Select all
#!/bin/sh matchbox-window-manager & yourapp
xinit ./scriptname
Re: Run Processing Sketch without Startx
Yes, quite easily.eraldino wrote: I will try to do this. Can this be automatically started on boot up?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Re: Run Processing Sketch without Startx
That's doing quite a lot of maths. Don't forget that the Raspberry Pi has roughly the same power as a 2009 iPhone 3GS …eraldino wrote:I am running on Oracle Java but still its too damn slow to run a rotating matrix.
Couldn't get it to run under Processing.js, though I didn't try very hard.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him
Pronouns: he/him
Re: Run Processing Sketch without Startx
I exported a sketch in processing and run it in the terminal, after closing it I tried to run it again. Now I am getting an error that says java is not found
I tried java -version
and got:
bash: java: command not found
how can i fix this? they say its about a path thing but its very vague all the java files are gone in my processing folder too.
Whats happening to my java-oracle?
I tried java -version
and got:
bash: java: command not found
how can i fix this? they say its about a path thing but its very vague all the java files are gone in my processing folder too.
Whats happening to my java-oracle?