Can't run shell scripts by clicking on them.

Bug #1198598 reported by Matthew Pagan on 2013-07-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ayatana Design
Undecided
Unassigned

Bug Description

Regardless of whether a shell script has the executable flag set, a *.sh file cannot be opened by clicking on it or by running Alt-F2 file.sh. Running `sh ./file.sh` from the terminal is not always an adequate solution, depending on what the shell script does. Clicking on an executable shell script will cause the file to open with gedit. When the file is right-clicked, Open with -> Other Application... does not allow the user to select bash unless a *.desktop file has been created in ~/.local/share/applications . This is a serious usability issue because not all users will now how to do this. There are many applications that rely on shell scripts to launch, and Ubuntu users are being confused when they don't "just work." One example of this is the Tor Browser Bundle (https://torproject.org), but there are many other such applications. Please ship begin shipping Ubuntu with a bash.desktop file already prepared.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers