Re: Important desktop-wide change (MIME)



Fernando Herrera <fherrera onirica com> writes:

> Tue, Jul 20, 2004 at 03:27:32PM -0400, Ray Strode escribió:
> 
> >In the Exec= line of the desktop file put 
> >Exec=bug-buddy --core %f
> 
> 	But that would make the application fails when invoked from the
> menu entry, because in that case there is no core file to pass as an
> argument.
> 
> 	so maybe this new MIME system doesn't allow an application to
> have conditional parameters to open different kind of files. In the
> bug-buddy case, it uses two different options for managing different
> kind of files:

There's no requirement that you only install one desktop file, or even
that the desktop file that appears in the menus is the one that the file
manager uses.  If you install a second desktop entry like this:

Exec=bug-buddy --core= %f
NoDisplay=true

It won't appear in the menu, but nautilus will pick it up.

Thanks,
-Jonathan



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