OK so after the format I created a folder under my user named bin. I created the .sh file as you described and stored it in that folder marking it as executable.
#!/bin/bash
cp ~/Documents/playlist0 ~/Documents/playlist1
sleep 15
vlc ~/Documents/playlist1
I then created the autostart directory in .config and made a .desktop file with this;
[Desktop Entry]
Type=Application
Name=Copy playlist
Exec=/home/USER/bin/playstart.sh
Terminal=false
Comment=Updates playlist
Categories=Application;
I removed the Utility variable from Categories as it showed up blocked in red, which I figured meant incorrect.
I did not need to mark it as executable, everything worked as expected on reboot.
Because this is just one part of my project, I was planning on adding more lines to the .sh file to perform other basic actions. I'm assuming that it's better to localize everything within the one script rather than running multiple scripts and loaders.
Thanks again!
Bookmarks