mime and freedesktop (was: Desktop Icons)

Thomas Leonard tal00r at ecs.soton.ac.uk
Fri Oct 3 13:29:00 CEST 2003


On Thu, 02 Oct 2003, edscott wilson garcia <edscott at imp.mx> wrote:
> I see. I would rather something like:
> <mime-info>
>   <mime-type type='image/png'>
>     <application desktop=xfce>display</application>
>   </mime-type>
> </mime-info>
> 
>  so that if ROX had:
> <mime-info>
>   <mime-type type='image/png'>
>     <application desktop=rox>gimp</application>
>   </mime-type>
> </mime-info>
>  
> It would easy to collect and use the application information from all
> desktops, shared or not shared. The icon to use information would also
> come in handy, but is not as indispensable.

The xfce: prefix indicates the designer of the spec, not the desktop. You
can't use <application> unless you get agreement on freedesktop.org as to
the format of the element (and the desktop= part is probably unnecessary).

The thing is, you can continue using XFCE's list of application handlers
with the new spec (and types) by using an <xfce:application> element, or
wait until there's an agreed standard and use that. Either way, there's no
reason not to use the existing database to get the same MIME names,
matching rules and comments as ROX (and GTK's next file chooser).

Sorry if my example wasn't very clear.


-- 
Thomas Leonard			http://rox.sourceforge.net
tal00r at ecs.soton.ac.uk	tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1



More information about the Xfce4-dev mailing list