I have a shortcut to a shell script on my desktop, and when i double click it the run in terminal/display/cancel/run dialog appears. Is there any way to set a default action for this dialog?
I would suggest you create a desktop launch icon for the file. Here is how:
Now, you would have a launcher on your desktop with an icon and everything. If you want Unity Dash to find it, just drop a copy of the file in