Thu Jul 02, 2020 9:01 am
You just have to edit this file
sudo nano .config/lxsession/LXDE-pi/autostart
Add this command to run a script (in this example is called shboot.sh)
@lxterminal -e /home/pi/shboot.sh
Inside that script(shboot.sh) put what you want and make it executable with "sudo chmod 755 filename"
I put those kind of scripts(shboot.sh) in my home folder..
Now it will run on LXDE desktop startup