On Raspbian, How do you create a shortcut on the desktop? I have a program that I wrote within a folder and I want a desktop shortcut for this program. I followed many tutorials online, but none helped so far. They all pretty much told me to create a empty text file and place the following lines in it. So, I did.
Then, they say to place this newly created file in the desktop folder. After doing that, I rebooted RasPI. Now, on the desktop I do see the icon for MyProgram but without that little black and white arrow in the corner to indicate that it is a shortcut. When I double click on the shortcut, MyProgram starts to run. However, my program is starting up as if its starting from the desktop not from within its own folder. I want to be able to click on a shortcut for my program which actually starts from within MyProgram folder. Could someone please help me or point me in the right direction.... Hopefully, this post is not too confusing...