After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 147388 - Administrator's Guide - Explanation mime types is wrong
Administrator's Guide - Explanation mime types is wrong
Status: RESOLVED FIXED
Product: gnome-user-docs
Classification: Core
Component: sysadmin-guide
2.4
Other Linux
: Normal minor
: ---
Assigned To: Maintainers of Gnome user documentation
Maintainers of Gnome user documentation
Depends on:
Blocks:
 
 
Reported: 2004-07-12 08:41 UTC by ttnews
Modified: 2006-02-27 04:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
rewritten mime types section (34.32 KB, application/xml)
2006-02-25 20:46 UTC, Brent Smith (smitten)
Details

Description ttnews 2004-07-12 08:41:58 UTC
1. make entries in four files according to the Administrator's Guide to create a
new mime type
2. try to start a file of this type from nautilus
3. see the mime type that is associated with this file in nautilus

4. to add is as a user via nautilus (right-click, associate with application)
doesn't solve this problem either, it is also reported in other bug reports on
this site.

Actual Results:
The mime type nautilus sees doesn't change

Expected Results:
The mime type should correspond with the entries/modifications I made

How often does this happen? 
always

Additional Information:
There seems to be a workaround and explanation to this. See also some bugs
concerning this in gnome-vfs etc.
There seem to be two places to store mime types, one comes from Gnome itself,
one from the integrated shared-mime-data from the freedesktop.org project. The
latter isn't mentioned at all in the Guide.
I can't tell if one of the modifications suggested in the Administrator's Guide
can be omitted (at least the /etc/gnome-mime-magic-data seems to do nothing),
but you need to also edit [on my system] the file in /usr/share/mime/packages/
and then update the freedesktop.org-shared-mime-database with
/usr/bin/update-mime-database.
With this modification nautilus sees the new mime type.
Comment 1 ttnews 2004-07-12 10:33:14 UTC
See also bug 138359, especially comment #4, or bug #71094. Both relate to the
presence of to (conflicting?) mime type representations in gnome.
What THE correct way is to add new mime types I don't know, but I guess the
developers from gnome-vfs or gnome-mime-data can tell.
Comment 2 Brent Smith (smitten) 2006-02-14 04:48:19 UTC
I have a feeling this has changed since the administration guide was last written as well.   Someone needs to research this and update the docs accordingly.
Comment 3 Brent Smith (smitten) 2006-02-25 20:46:24 UTC
Created attachment 60124 [details]
rewritten mime types section

Not completely finished yet, but I am posting for peer review in hopes that we can put this in the release candidate for Monday, February 27th.
Comment 4 Brent Smith (smitten) 2006-02-27 04:13:53 UTC
2006-02-26  Brent Smith  <gnome@nextreality.net>

        * gnome2-system-admin-guide/C/ChangeLog:
        * gnome2-system-admin-guide/C/menustructure.xml:
        * gnome2-system-admin-guide/C/mimetypes.xml:
        Rewrite of mimetypes.xml and menustructure.xml to bring them up to
        date in the system administration guide.  Fixes #158037, #147388