On Sat, 2006-06-17 at 16:40 -0700, James Richard Tyrer wrote: > Waldo Bastian wrote: > > On Friday 16 June 2006 06:04, Mike Hearn wrote: > >> This wasn't written by me but apparently it works: > >> > >> http://cvs.sunsite.dk/viewcvs.cgi/autopackage/main/share/apkg-mimetype.xsl? > >> rev=1.3&content-type=text/vnd.viewcvs-markup > >> > >> Bear in mind they aren't an exact match. You have to specify an icon > >> name in the freedesktop.org XML file in a separate namespace -- > >> linking icons to mime types has never actually been specced out! > > > > The recent concensus is to use <major>-<minor>.png as icon for mimeypes. > > > > See the bottom of > > http://www.freedesktop.org/wiki/Standards_2fshared_2dmime_2dinfo_2dspec > > Yes, this is what I had understood except that currently GNOME is using: > > gnome-mime-<major>-<minor> > > which generalizes as: > > <desktop>-mime-<major>-<minor> > > so I used for the KDE scribus icon: > > kde-mime-application-x-scribus > > Clearly, we should drop the 'desktop' prefix and the 'mime' is now > redundant since the MIME type icons will be in the subdirectory > "mimetypes". So (dropping these), a script to create the KDE MIME type > 'desktop' files is going to use: > > application-x-scribus
Gnome has moved to this form already (although the full move might take a while), since its what the new icon nameing specification specifies. However, themed mimetypes are still sort of non-ideal. I proposed something earlier that I hope would make it work better: http://lists.freedesktop.org/archives/xdg/2005-December/007634.html But there hasn't been any motion on this since then. With something like this in place the mime spec for the application/x-scribus mimetype could specify a generic icon name that all icon themes have, and then the file conflict issue is much less problematic. I.E. if you don't install the icon in hicolor then themes without the specific scribus icon will still get a not-total-crap icon for the scribus files. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc [EMAIL PROTECTED] [EMAIL PROTECTED] He's a maverick Jewish cowboy on the hunt for the last specimen of a great and near-mythical creature. She's a sharp-shooting African-American cab driver from a family of eight older brothers. They fight crime! _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
