aliases and subclasses files

Alexander Larsson alexl at
Tue Mar 29 10:58:14 EEST 2005

On Thu, 2005-03-24 at 16:33 -0500, Jaime Chang wrote:
> Hi everybody,
> I have started looking at the shared mime package today and I think it's 
> a great idea. I have also been using the xdgmime library to extract the 
> mime type of a file based on the magic numbers and the extension files. 
> However, I noticed in the xdgmime code that it tries to load information 
> from files called aliases and subclasses of the mime directory but those 
> files don't get created when the shared-mime-info package (ver. 0.15) is 
> installed. Are these files not used anymore? I also tried installing 
> ver. 0.12 but I got the same result. Please let me know if I am missing 
> something really important.

These files get written by update-mime-database. However, that code was
added after version 0.15.

 Alexander Larsson                                            Red Hat, Inc 
                   alexl at    alla at 
He's an oversexed albino stage actor on the run. She's a cosmopolitan mutant 
safe cracker who don't take no shit from nobody. They fight crime! 

More information about the xdg mailing list