Re: Important desktop-wide change (MIME)
- From: Rob Adams <readams readams net>
- To: desktop-devel-list gnome org
- Subject: Re: Important desktop-wide change (MIME)
- Date: Tue, 20 Jul 2004 13:48:42 -0700
Could we use a similar hack for adding extra MIME types then? Each gst-
plugin could install a .desktop with
Exec=gst-player/whatever
MimeType=video/mpeg...
NoDisplay=true
The MIME system could then be smart enough to group together
all .desktop files with the same Exec line, or we could have a X-Gnome-
AppId=2093758-23alksjd93-lakjsd83 line with a guid that we could group
on.
-Rob
On Tue, 2004-07-20 at 16:39 -0400, Jonathan Blandford wrote:
> 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
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]