More prefered applications

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sun Aug 6 21:36:56 CEST 2006


jp wrote:
>>Hm, an idea that I think might work is adding the ability to specify mimetypes
>>for launching. eg:
>>exo-open --launch text/plain
> 
> Yes, it seems easier to implement, as the exo-open already handles mime 
> types when opening a file.
> 
> Good idea imho :)

exo-open doesn't know anything about Mime-Types. But thunar-vfs does.
Attached is a simple application that does exactly what you want.

> JP

HTH,
Benedikt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: open-preferred-application.c
Type: text/x-csrc
Size: 3103 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060806/927fa10e/attachment.c>


More information about the Xfce4-dev mailing list