[maemo-users] [maemo-users] Re: Re: Unzip - GUI or linked through File Manager?

From: maemo at renda.org maemo at renda.org
Date: Thu Feb 8 03:55:26 EET 2007
>The Desktop Entry Specification[4] says:
>%f    A single file name, even if multiple files are selected. The system 
>reading the desktop entry should recognize that the program in question cannot
>handle multiple file arguments, and it should should probably spawn and 
>execute multiple copies of a program for each selected file [...]

I share your frustration.  I spent a long time trying to figure out how
to get this to work and eventually gave up and wrote a wrapper.
It takes a bit of configuration but I now have a "mimewrap" application
that does the osso_mime_set_cb thing and passes the arguments to a
specified application based on the file extension.  Seems to work fine
for feeding spreadsheets to gnumeric from the file manager.  I'd think
it should work for unzip as well although I'm not sure how you'd want
to specify where the unzipped contents should go.

And it's only 188 lines of C :-)

I've yet to contribute anything to the maemo world.  Where should
something like this go?  garage.maemo.org?

-Greg

More information about the maemo-users mailing list