[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] mimetypes handling - CORRECTION
From: |
Uwe Scholz |
Subject: |
Re: [gcmd-dev] mimetypes handling - CORRECTION |
Date: |
Wed, 17 Jun 2015 19:39:27 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Michael,
thank you very much for the detailed analysis of the mime-handling
stuff. I'll set this on my ToDo List. Fur future compatibility it is
certainly something we have to look at.
If someone is willing to have a look at it, please feel free to do so. I
by myself want to fix another known issue (*) before this one.
This reminds me that I have to update
https://git.gnome.org/browse/gnome-commander/plain/TODO as well...
Best wishes,
Uwe
(*) https://bugzilla.gnome.org/show_bug.cgi?id=570733
Michael <address@hidden> schrieb am [Wed, 17.06.2015 17:45]:
> > == mimeinfo.cache ==
>
> # Comment:
> #
> # oops that was a copy & paste mistake !!
> # The first half of the paragraph is about this file:
> #
>
> == mime.cache ==
>
> The file resides in /usr/share/mime/ and there are several more related
> files, like "globs" and "globs2" (telling the file suffixes), or "magic"
> (identifying file headers).
>
> I can't really tell what exactly is in there since mimeinfo.cache contains
> binary data (congrats, freedesktop!); if you need to know the specs:
>
> http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#idm140625828626720
>
> and if you look into it (with strings or mcview) there's an awful lot of
> clutter, like "Windows Registry" entries or Google links...i hate this.
>
> # Comment:
> #
> # Only the second half of the paragraph is about mimeinfo.cache:
> #
>
> == mimeinfo.cache ==
>
> >From archwiki: "When the program update-desktop-database is run (usually as
> >root during the (un)installation of a package), it updates files called
> >mimeinfo.cache in the /usr/local/share/applications and
> >/usr/share/applications directories. These files keep track of which
> >MIME-types are associated with which .desktop files overall. This file
> >should not be edited by the user."
>
> After inserting a new mimetype, system runs:
> update-desktop-database ~/.local/share/applications
> update-mime-database ~/.local/share/mime
>
>
>
> _______________________________________________
> gcmd-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gcmd-devel
>