Nautilus script menu in FC3

Motor motor1024 at yahoo.com
Fri Dec 31 12:33:43 UTC 2004


On Thu, 30 Dec 2004 10:27:45 +0100, Andrea Giuliano wrote:

> I had a similar problem sone weeks ago.
> 
> I had several scripts in the right place, and I got them appear again
> only after a slight modification: I removed the first line, the usual
> "#!/bin/sh", and changed the permission to rwxrw-r--. Since my script
> were also organized in directories, I changed the the permissions on
> them to drwxrwxr-x.

Bingo!

I didn't change any permissions, I just removed the #!/bin/sh line from
one of the script files and then killed Nautilus. When it came back up the
script menu was there -- but it contained only the script from which I'd
removed #!/bin/sh.

Now the question is: why doesn't Nautilus recognise them as scripts unless
they have no #!/bin/sh on the first line? A pretty wild guess might be
something screwed up with mime types, but beyond that I'm a bit lost.

Thanks for the help though.




More information about the fedora-list mailing list