Updating .desktop files
[Posted July 19, 2004 by cook]
| From: |
| Jonathan Blandford <jrb-AT-redhat.com> |
| To: |
| devel-announce-list-AT-gnome.org |
| Subject: |
| Updating .desktop files |
| Date: |
| 14 Jul 2004 18:18:05 -0400 |
Hi,
We'd like to move to use the freedesktop desktop file specification for
mapping applications to MIME Types. That will let both GNOME and KDE
(and other desktops) share the same database for applications, and
provide a clear target for application developers.
As preparation for this change, we'll need to modify the desktop files
that we're installing to have a MimeType key. This key will simply list
all the MIME types that that application knows about. As an example,
gedit should have:
MimeType=text/plain;
While ggv could have:
MimeType=application/pdf;application/postscript;
Note that this scheme doesn't support wildcarding. Registering yourself
as 'text/*' or 'image/*' is an incorrect thing to do. In practice,
simply listing 'text/plain' is sufficient as most other MIME Types that
you'd want to list with it are listed as inheriting from 'text/plain'[1].
Thanks,
-Jonathan
[1] or will be. This work is still in progress.
--
devel-announce-list mailing list
devel-announce-list@gnome.org
http://mail.gnome.org/mailman/listinfo/devel-announce-list
(
Log in to post comments)