This question already has an answer here:

I have an executable file called drracket in a folder :

enter image description here

However in GUI it appears as a source file : enter image description here

Is there a way to run the file via GUI like double-click etc.? (Running it in prompt forces me to keep the prompt open and bound to the executing file, closing the prompt closes the program as well).

marked as duplicate by Jacob Vlijm, Vineet Kaushik, Eric Carvalho, Elder Geek, muru Nov 12 '14 at 4:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can use .desktop.

  1. You need to make the shellscript as executable.
  2. put .desktop file in same path.

    [Desktop Entry]
    Name=App Names
    Comment=your Comments
    Exec=/bin/sh "path of script like /opt/mefile/file"
  3. Make the .destop file executable by +x.
  4. now double click in .desktop file and it will launch your application.

Not the answer you're looking for? Browse other questions tagged or ask your own question.