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

From: Danny Milosavljevic danny_milo at yahoo.com
Date: Thu Feb 8 22:53:24 EET 2007

On Wed, 07 Feb 2007 17:55:26 -0800, maemo wrote:
>>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 see :)
Well, nice as a workaround...

>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.

To where the zip file was...

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

Hehe :-)

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

Yes, sounds good (for a short term solution)[1], start a garage project.


[1] Long term, the platform could just support launching scripts with a useful main argv _as well_ (in addition to the maemo dbus optimize stuff) - if it doesn't already - I don't know...

More information about the maemo-users mailing list