Bug 31441 - xdg-mime --manual: install: type/subtype
Summary: xdg-mime --manual: install: type/subtype
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.0
Hardware: x86-64 (AMD64) Linux (All)
: medium trivial
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 04:34 UTC by Christopher Yeleighton
Modified: 2010-12-31 02:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christopher Yeleighton 2010-11-07 04:34:06 UTC
Reasons:
A media type is type/subtype, not major/minor, and while white space is technically allowed after the slash, it is rather uncommon to have it there.

Corrected text:

install
    Adds the file type descriptions provided in mimetypes-file to the desktop
    environment. mimetypes-file must be a XML file that follows the
    freedesktop.org Shared MIME-info Database specification and that has a
    mime-info element as its document root. For each new file type one or more
    icons with name type-subtype must be installed with the xdg-icon-resource
    command in the mimetypes context. For example, the filetype 
              application/vnd.oasis.opendocument.text 
    requires an icon named 
              application-vnd.oasis.opendocument.text 
    to be installed (unless the file type recommends another icon name).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.