This is my dilemma. I have a program that can only be launched through terminal. So, right now I am always having to first open the terminal and then do the following ./theGUIScript. It runs but I want to have a link or a executable script or application on the desktop that does the same thing but with double click. So, whenever I want to start this program, I double click on this link or script. I have looked at all the self-help online on this issue, but there seems to be no definitive answer. And whatever I try it doesn't seem to help. When I think I solved this issue, Ubuntu opens the file with gedit or popups a message saying there is a problem with the shortcut or link.
Asked
Active
Viewed 1,038 times
0
ThN
- 223
1 Answers
0
Just move your executable from the directory where it is to the desktop using the mouse. Or if you want to keep it in it's original directory, create a symlink.
Depending of whether I use a shell script with the extension .sh or a compiled c-program (with just the name a.out) the icons look different, the symbolic links showing some additional arrow, but the programs are being executed ok.
From what you write, the program is obviously executable by you.
What happens, when you right-click on the file? Do you see an option to execute the program?
nlu
- 101