After retry this from "Running A Program At Start UP A Beginner's guide :
5.1.1.3 Usage
1. Create the user’s session configuration directory:
mkdir -p /home/pi/.config/lxsession/LXDE-pi
2. Copy the default autostart file into the directory created above:
3. Open /home/pi/.config/lxsession/LXDE-pi/autostart in your preferred text editor. This does not require root or sudo.
4. Add the commands to the end of the file one program per line. Start a line with @ if you want the windows manager to restart a program should it fail. For example: for my case :
6. Logout and back in or reboot.
notting is starting!
As mention in previous answer I use a RPI4/Bookworm
5.1.1.3 Usage
1. Create the user’s session configuration directory:
mkdir -p /home/pi/.config/lxsession/LXDE-pi
2. Copy the default autostart file into the directory created above:
3. Open /home/pi/.config/lxsession/LXDE-pi/autostart in your preferred text editor. This does not require root or sudo.
4. Add the commands to the end of the file one program per line. Start a line with @ if you want the windows manager to restart a program should it fail. For example: for my case :
@/usr/bin/python3 /home/pi/viewer.py
Save and close.
6. Logout and back in or reboot.
notting is starting!
As mention in previous answer I use a RPI4/Bookworm
Statistics: Posted by Powersoft — Tue Feb 20, 2024 12:00 pm