I'm working with my 7 years old son on a edukit robotics project with my son on my Raspberry PI 2, installed with Jessie. Instead of using Python (Too complicated for him) I programmed the robot with him in scratch (default version in Jessie with scratch GPIO embedded).

However, now we want to startup the PI, so that it finally automatically executes our Scratch program (instead of connecting and launching vnc or xrdp and starting our scratch program).

I did found on the web : http://simplesi.net/autostart-scratchgpio-projects

But this seems not to work, as it seems to be obsolete (no more need to install ScratchGPIO) as this was probably written prior to Rasbian Jessie, as now it seems to startup a nuscratch image.

But I can't get around it to adapt these instructions to get this work with the current Jessie version.

Any suggestions, anyone who has solved the same issue ?

  • NuScratch is very much a raspberrypi.org project so you may get a quicker response if you ask this question on the raspberrypi.org forum.
    – joan
    Jun 8, 2016 at 22:01

1 Answer 1


I've never used scratch myself, but there are 2 general ways to automatically start things on boot or login. Here is a question similar to yours that indicates the proper way to autostart (using systemd), if not, look into using cron. They key for either case is to be able to start your thing directly from the command line, no clicking on stuff.

  • Thanks,However, the examples are pointing to a python script. This is a scratch project. I don't see how easily I can point a scheduled job cron or using systemd to set up the automatic start of a scratch project. The idea is to upload each-time an improved version of the project to a directory, and upon reboot the PI automatically runs the scratch project (no graphics or interface required as this is a robot project).
    – Jeroen
    Jun 13, 2016 at 17:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.