[Portland] Re: [Fwd: Re: Mime-typ Scribus?]

James Richard Tyrer tyrerj at acm.org
Thu Jun 22 06:33:41 EEST 2006


Alexander Larsson wrote:
> On Tue, 2006-06-20 at 17:11 -0700, James Richard Tyrer wrote:
>>> 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.
> 
> That would only work for application icons though, not for mime type
> icons. Or am I missing something?

This would work fine for KDE 3.x.y, but would need to be adapted to the 
new system.

What I left out was exactly how to adapt the idea to the new MIME 
system.  I presume that since the first icon in the list has its name 
derived from the MIME type that it doesn't need to be explicitly listed. 
  So, my first thought is that the "<application>.xml" would have a list 
of alternate icons:

	<alternate icon="icon_1" />
	<alternate icon="icon_2" />
	<alternate icon="icon_3" />

I didn't actually think about exactly what would be done with this 
information except that it should be used the same as if it was in the 
'desktop' file.

-- 
JRT





More information about the xdg mailing list