[Nautilus-list] The script extention to nautilus...



I was looking at tigert's scripts just to get an idea about the script
function. When he showed me the scripts at guadec we talked about that
it would be nice to have the script menu to be mime aware, it doesn't
make much sence to rotate a tar.gz file 90 degrees ;)

When I look at the current implementation I see that the scripts are
just placed in the Nautilus/scripts directory and the menu name of the
script is the actual script name. In that directory I find a file that
contains meta info about all the scripts. This solution has some
problems, first it's impossible to translate the script name and it's
also hard to make it mime aware. I would like to see a simmilar file
format as the .desktop format, I don't think that the .desktop format
would support mime types very good so I think it would have to be a new
one. That way all the meta info about a script is in one file, the
scripts can be located anyware in the PATH. It's easy to make
translations and specify mime-types for each script. And one very
important thing, it's still easy to add scripts.

what do you think, am I way off again as usual ;)

//Snaggen

-- 
____________________________________________________________________________
 
Mattias Eriksson             E-mail: c96men cs umu se 
Tvistevägen 26                       snaggen acc umu se
907 36  UMEA                 Tel:    090-198800
SWEDEN                               070-5636769
 
'I don't fight for a cause   Hemsida: http://www.acc.umu.se/~snaggen 
I fight for the fight'       PGP: http://www.acc.umu.se/~snaggen/snaggen.asc
____________________________________________________________________________







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