I've been installing most of my program files to the /opt directory and I wanted to create a symlink that would run the .sh file that starts the program.

The program loads normally when I'm in the directory /opt/program ./filename.sh

However, when I create a symlink to this file that lives on the desktop, and double click on that file, I usually get a pop-up box that asks me if I want to run this program or run it in the terminal.

At this point, everything seems to be going well.

But when I choose either "run" or "run in terminal" nothing happens.

Could it have something to do with the fact that these program files are stored in /opt?

I mean I've used this method to start DropBox which is installed in my Home directory rather than /opt. And everything works great.

Any ideas? Thanks