[Portland] Re: [Fwd: Re: Mime-typ Scribus?]
James Richard Tyrer
tyrerj at acm.org
Wed Jun 21 03:11:55 EEST 2006
Alexander Larsson wrote:
> 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:
>>>> 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:
> 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:
> 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.
I have previously suggested on the XDG list that the: "Icon=" variable
in the 'desktop' file could have a list of possible icons, rather than
just one to be searched for in order L2R. It appears to me that this
would give the most control over specific vs. generic MIME type icons.
More information about the xdg