Virtual MimeTypes support patch

Albert Astals Cid aacid at
Sun Oct 22 17:55:38 BST 2006

A Dissabte 21 Octubre 2006 21:05, Jos van den Oever va escriure:
> The solution given here:
> is not entirely clear to me.
> If I understand correctly, each plugin may add support for additional
> mimetypes, so the part of the .desktop file that talks about mimetype
> support for an application should be dynamic. How will the proposed
> XML format solve this?

Ignore that :-D

Basically each plugin installs a desktop file that says that extends that 
virtual mimetype adding some mimetypes. For more in depth explanation on how 
the .desktop has to look, see my patch, there is a nice description of that.


> Also I'm not sure 'virtual mimetypes' is a good 
> description of what you want. You probably mean 'virtual' as in
> 'virtual function'. Outside of C++, this meaning may not be as clear
> as it is for C++ programmers. I dont have a better suggestion by the
> way, because 'dynamic' is even worse.
> Cheers,
> Jos
> 2006/10/21, Albert Astals Cid <aacid at>:
> > Hi, this patch adds virtual mimetypes support for KDE.
> >
> > Virtual mimetypes basically add the possibility of having plugins that
> > add supported mimetypes to those the application supports.
> >
> > We need it for okular behaving properly, that is, not advertising it has
> > pdf support when the pdf plugin was not compiled.
> >
> > See for the
> > whole explanation.
> >
> > Comments?
> >
> > Albert

More information about the kde-core-devel mailing list