I'm a total noob at programming, and therefore ran into a problem while problem solving on my Raspberry Pi.
I have a .sh script on my desktop that I would like to run after my Raspberry Pi is booted. So far, I have tried the following...
First, I go to the terminal and type:
sudo nano /etc/xdg/lxsession/LXDE/autostart
From there, I then proceed to add the following line to the end of the 'autostart' script:
@! /bin/bash /home/pi/Desktop/MyFile.sh
Unfortunately, my code isn't running when I do these steps.
Any ideas/help would be tremendously appreciated!!!