# Tutorial for autostart of Processing sketch on Raspberry Pi 4 (Question)

**URL:** https://discourse.processing.org/t/tutorial-for-autostart-of-processing-sketch-on-raspberry-pi-4-question/43450
**Category:** Processing for Pi
**Created:** [December 11, 2023, 10:14pm UTC](https://discourse.processing.org/t/tutorial-for-autostart-of-processing-sketch-on-raspberry-pi-4-question/43450 "2023-12-11T22:14:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jackieh111](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jackieh111](https://discourse.processing.org/u/Jackieh111)
#### Post date: [December 11, 2023, 10:14pm UTC](https://discourse.processing.org/t/tutorial-for-autostart-of-processing-sketch-on-raspberry-pi-4-question/43450/1 "2023-12-11T22:14:16Z")

</div>

Can anyone help me with a straight forward tutorial on how to get a processing sketch to launch on boot of a raspberry pi connected to a projector. Everything needs to autostart for a gallery. It’s several years since I’ve used either of them.

---

<div class="post-metadata">

### Author: ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)
#### Post date: [December 12, 2023, 3:44am UTC](https://discourse.processing.org/t/tutorial-for-autostart-of-processing-sketch-on-raspberry-pi-4-question/43450/2 "2023-12-12T03:44:26Z")

</div>

Hi  
Google this. //how to get a processing sketch to launch on boot of a raspberry pi // for more results

[https://research.michaelday.org.uk/2015/05/20/autostart-a-processing-sketch-on-the-raspberry-pi/index.html](https://research.michaelday.org.uk/2015/05/20/autostart-a-processing-sketch-on-the-raspberry-pi/index.html)

> **[Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/22968/start-processing-sketch-at-pi-startup.html)**
>
> Processing is an electronic sketchbook, a language and a worldwide community. This is its forum.

[![](https://img.youtube.com/vi/4vdnGZWjBTk/maxresdefault.jpg "Raspberry Pi - MASSIVE TUTORIAL - Fresh Install, Processing, Autostart App on Boot, NoScreensaver...") ](https://www.youtube.com/watch?v=4vdnGZWjBTk)

---

<div class="post-metadata">

### Author: ![Jackieh111](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jackieh111](https://discourse.processing.org/u/Jackieh111)
#### Post date: [December 12, 2023, 11:53pm UTC](https://discourse.processing.org/t/tutorial-for-autostart-of-processing-sketch-on-raspberry-pi-4-question/43450/3 "2023-12-12T23:53:42Z")

</div>

Thanks for this. Its a bit outdated but Ill update the post when I’ve fully got it working. Stuck on something else in the meantime 🙂

---

<div class="post-metadata">

### Author: ![Jackieh111](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jackieh111](https://discourse.processing.org/u/Jackieh111)
#### Post date: [December 14, 2023, 5:22pm UTC](https://discourse.processing.org/t/tutorial-for-autostart-of-processing-sketch-on-raspberry-pi-4-question/43450/4 "2023-12-14T17:22:45Z")

</div>

I’ve finally got this running and it’s pretty simple. This guideline was very useful and clear - I used method no. 2 as my program needs a GUI.  
[https://learn.sparkfun.com/tutorials/how-to-run-a-raspberry-pi-program-on-startup/all](https://learn.sparkfun.com/tutorials/how-to-run-a-raspberry-pi-program-on-startup/all)
