[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Nautilus script menu in FC3



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]