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

Troubleshooting • Havind difficulty getting a python script to start under autostart.

$
0
0
Hi,

I have a python program named crr00.py. I have made a desktop entry file under/etc/xdg/autostart. Double clicking on this entry starts My program correctly, but it does not run at reboot.
I am running Bookworm 64 bit on a Raspi4.
The .desktop file, /etc/xdg/autostart/insp.desktop, looks like this:

[Desktop Entry]
Type=Application
Name=CRR Process
Path=/home/eng/Desktop/CrrPython/
Exec=/home/eng/pyvenv/bin/python3 crr00.py
icon=/home/eng/Desktop/CrrPython/Insp.png
Terminal=true
X-KeepTerminal=true
GenericName=Inspection
Comment[en_US]=Start the process

What am I doing wrong?

Statistics: Posted by rallenbaggett — Mon Aug 12, 2024 12:04 pm — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 7503

Trending Articles