Mimetype Icons (Was: Shared mimetypes + activation)

Waldo Bastian bastian at kde.org
Tue Apr 27 11:56:44 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was pointed to
http://freedesktop.org/pipermail/xdg/2004-February/003391.html

Which says
"I think the mime type spec hints about a way to do this mapping, but i
don't know if anyone is using that. Gnome is not at least, we use a
slightly different mapping.

Mimetype image/x-foo maps to gnome-mime-image-x-foo, and if that doesn't
exist it looks for gnome-mime-image."

Which indeed seems to be the mapping used in GNOME 2.6

Cheers,
Waldo

On Fri April 23 2004 14:27, Waldo Bastian wrote:
> Hi,
>
> The status of mimetype icons seems to be accurately described by this
> posting: http://freedesktop.org/pipermail/xdg/2004-March/003509.html
>
> The intended standard seems to be mentioned in passing at the bottom of:
> 	http://pdx.freedesktop.org/Standards/shared-mime-info-spec
>
> And reads as follows:
> "Icon theme specification
>
> This can be used to locate an icon to represent a given MIME type. The icon
> name is of the form mime-media:subtype (for example: mime-text:plain). If
> no specific icon is found, fallback to mime-media (eg, mime-text). Note
> that there is an older (GNOME-specific) set of icon names. These do not
> correspond to the MIME names used in this new database, although they may
> be useful as a fallback."
>
> (1) I would like to know whether this description is considered accurate,
> in particular whether the colon character ':' should be used as separator
> between "text" and "plain". This would be unfortunate because on some
> filesystems ':' is not a valid character in filenames.
>
> (2) I suggest that, after addressing (1), this paragraph is added to the
> Icon Theme specification.
>
> Cheers,
> Waldo
>
> On Fri April 23 2004 13:26, Waldo Bastian wrote:
> > Hi,
> >
> > Last night I have been talking with Jonathan Blandford about the shared
> > mimetype spec and the activation issues. Both Jonathan and I hope to move
> > that forward in the next weeks.
> >
> > Some relevant threads from the past:
> > *  MIME Activation
> > 	http://thread.gmane.org/gmane.linux.xdg.devel/554 (Mar 2003)
> > *  Default Program | File Association
> > 	http://freedesktop.org/pipermail/xdg/2004-January/003134.html
> > * Associating a mime-type with an icon
> > 	http://freedesktop.org/pipermail/xdg/2004-February/003390.html
> > 	http://freedesktop.org/pipermail/xdg/2004-March/003493.html
> > * Associating programs with file types (
> > 	http://freedesktop.org/pipermail/xdg/2004-March/003442.html
> >
> > A proposal for the behavior of the new MIME system in GNOME:
> > 	http://www.gnome.org/~jrb/files/mime/
> >
> > The issues that need to be looked at can be split into two distinct
> > problems: * Which icon to use for a mimetype (icons)
> > * Which actions/programs are associated with a mimetype (activation)
> >
> > For ease of reference I will bifurcate (I learned a new word!) this
> > thread into one for icons and one for activation. More to come... stay
> > tuned.
> >
> > Cheers,
> > Waldo

- -- 
bastian at kde.org |  ...  Watch this space  ...  | bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAjjxsN4pvrENfboIRAmOZAJ4pofd/cIEkEzMplsgdE6eKFtHTQwCgoajo
7jdwarMCoh+yW9DunvkNphA=
=OFfV
-----END PGP SIGNATURE-----



More information about the kde-core-devel mailing list