diff -Naur a/thunar-1.6.3/thunar/thunar-file.c b/thunar-1.6.3/thunar/thunar-file.c --- a/thunar-1.6.3/thunar/thunar-file.c 2013-05-05 10:37:23.000000000 -0600 +++ b/thunar-1.6.3/thunar/thunar-file.c 2014-02-03 16:00:44.731015673 -0700 @@ -2714,8 +2714,13 @@ /* check if the content type is save to execute, we don't use * g_content_type_can_be_executable() for unix because it also returns * true for "text/plain" and we don't want that */ - if (g_content_type_is_a (content_type, "application/x-executable") - || g_content_type_is_a (content_type, "application/x-shellscript")) + /* do not execute x-shellscripts, may want to edit or run in terminal etc + * without the x-shellscript check they get marked as executable */ + if (g_content_type_is_a (content_type, "application/x-shellscript")) + { + ; /* leave can_execute = FALSE*/ + } + else if (g_content_type_is_a (content_type, "application/x-executable")) { can_execute = TRUE; }