When I follow the steps in
I used to get a dialog box asking whether I wanted to execute the shell script or edit it using gedit. I just reinstalled Ubuntu Linux 16.04 with a LiveCD and ran sudo apt-get install mono-complete. Now , when I double click the shell script in Ubuntu 16.04 Nautilus I only can edit the shell script file.
The contents of this shell script are:
#!/bin/bash
exec /usr/bin/mono-service.exe ./AudioRecorder.exe "$@".
as specified in
[http://www.mono-project.com/archived/guiderunning_mono_applications/]
Why is this problem occuring and how do we fix it so double click the shell script in Nautilus asks me if want to execute the shell script file?
Any help is greatly appreciated.