I made a simple Scratch script for the BrickPi3 and it runs fine, but I noticed the “Scratch Controller” Lxterminal has to be open for it to work. I’m using Raspian for Robots.
When I open my file (let’s say MyFile.sb), the scratch controller doesn’t automatically open, so my BrickPi does nothing. What I’ve ended up needing to do is start Scratch from Dexter’s executable which first runs a selection screen where I have to select my product and click “start programming,” then opens Scratch Controller and a new Scratch file. Then I have to close the new Scratch file and open MyFile.sb. It seems more cumbersome than should be possible.
Is there a script I could write or a way to open MyFile.sb so that Scratch Controller starts automatically with it, so I can run my file without having to go through this circuitous route?
One step further, but is there a script that would start either Scratch Cotroller or Scratch Controller and MyFile.sb on startup of Raspian?
I tried looking for a Scratch Controller executable to run individually but couldn’t find one.