Not executing programs (*.sh ) with double click in 13.04 [duplicate]

If you want it to be executed on double click, go to Nautilus > File menu > Preferences > Behavior, and change the preferences there: set "Executable Text Files" either to "Run executable..." or to "Ask each time" (thanks to Pablo for improving the answer).