[Portland] Re: [Fwd: Re: Mime-typ Scribus?]
James Richard Tyrer
tyrerj at acm.org
Sun Jun 18 02:40:44 EEST 2006
Waldo Bastian wrote:
> On Friday 16 June 2006 06:04, Mike Hearn wrote:
>> This wasn't written by me but apparently it works:
>> 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
Yes, this is what I had understood except that currently GNOME is using:
which generalizes as:
so I used for the KDE scribus icon:
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:
which is not what KDE uses for a MIME icon name. So, we are going to
need some way to assign the icon name. The script could search for an
icon using the GNOME method (e.g. *-mime-<major>-<minor>) and use it if
found. But to use KDE icons we are going to need a database file (a
simple text file that can be greped would work).
And, we are back to the problem with icons from different DeskTops
colliding -- overwriting each other if they are the same icon theme
(which we hope would only matter with HiColor).
More information about the xdg