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

From: Danny Milosavljevic danny_milo at yahoo.com
Date: Wed Feb 7 21:58:13 EET 2007

On Sat, 03 Feb 2007 13:57:02 +0100, Daniel Martín Yerga wrote:
> On Fri, 2 Feb 2007 12:31:11 -0500
> "Jonathan Greene" <atmasphere at atmasphere.net> wrote:
>> Is there anyway to get Unzip to "just work" by association of a
>> downloaded file?  I know I can drop into the terminal and unzip x, but
>> I was hoping there might be a way for the download to be associated
>> with the command through either a menu option on-tap, or perhaps even
>> through the file manager itself.

The file manager / launch system is a riddle to me. Everytime I touch the desktop integration, something breaks.

And it seems that there's no one knowledgeable about this part on maemo-developers (and/or I posted too much gibberish :-)), so questions like "[How] can I use %f in unzip.desktop's Exec line?" don't get answered. 

I'm currently stalled for information (then again, I could check out the entire svn repository and grep -R ? *wonders*)... 

However, since I just want to get the job done, if nobody answers this by a few more days, I'll just do it the hacky, complicated (and more runtime-efficient) way and write a C program that does the mime_set_cb callback dance, turning something that was a 50 line shell script and addition of two characters ("%f") in the desktop file into a 900 line C program (and I can't contribute that upstream since they'll just consider me crazy or something :-)). 

Hey, at least I will (need to) have a "unzip" DBus service, too. 



P. S.: Oh, just in case:
[How] can I use "%f" in a desktop file's "Exec" line?

More information about the maemo-users mailing list