Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5224

Python • Re: Running PyAudio Script On Startup Issue

$
0
0
I got it to work! I read your famous boot.pdf and it helped a lot! I created a .desktop file with the following lines:

Code:

[Desktop Application]Type=ApplicationDescription=run scriptExec=python3 /home/pi/my-script.py
Something odd I notice however is the first time i record when my pi boots up I hold down the record button for 2seconds until the red light turns on signalling that it started recording. But after I'm done recording that first time, it works perfectly.

Statistics: Posted by Henrik Gill — Fri Aug 23, 2024 7:20 pm



Viewing all articles
Browse latest Browse all 5224

Trending Articles