Hello,
Just purchased a RPi5 and uploaded the Raspberry Pi OS 64-bit Debian Bookworm/Raspberry Pi Desktop (currently up to date).
I am try to add a executable python file to autostart.
On older Pi's with older operating systems I would use:
and simply add the executable and its file location.
Usually directly after a reset, the executable would start on the Pi's start up.
I have tried this exact same method for this RPi5 and nothing happens. No errors are thrown, and it just loads to its default location.
Are autostart programs controlled differently on the RPi5 OS?
If so, does anyone have the updated command to add a python executable to autostart?
Thanks in advance for the help!
Just purchased a RPi5 and uploaded the Raspberry Pi OS 64-bit Debian Bookworm/Raspberry Pi Desktop (currently up to date).
I am try to add a executable python file to autostart.
On older Pi's with older operating systems I would use:
Code:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostartUsually directly after a reset, the executable would start on the Pi's start up.
I have tried this exact same method for this RPi5 and nothing happens. No errors are thrown, and it just loads to its default location.
Are autostart programs controlled differently on the RPi5 OS?
If so, does anyone have the updated command to add a python executable to autostart?
Thanks in advance for the help!
Statistics: Posted by mogo4414 — Mon Nov 18, 2024 3:53 pm — Replies 6 — Views 102