The mime type entry for shellscripts (application/x-shellscript), in the /usr/share/mime/packages/freedesktop.org.xml file, is incorrect, when using shared-mime-info 0.15. The match value for bash, nawk, tcsh,csh, zsh and sh shells is incorrect, which results in applications using the specification (such as nautilus) unable to execute certain shell scripts. Reproducible: Always Steps to Reproduce: 1.Using nautilus, double click bash shell script 2. 3. Actual Results: Error message is displayed Expected Results: Should be promted as to what to do with the script, read, execute etc... Adding a #! solves the problem, for example <match value="/bin/bash" type="string" offset="1:16"/> should be <match value="#!/bin/bash" type="string" offset="1:16"/> Once done, run update-mime-database.
what's your nautilus version? try shared-mime-info-0.16
please try shared-mime-info-0.16