Que é un tipo MIME?

In GNOME, MIME (Multipurpose Internet Mail Extension) types are used to identify the format of a file. The GNOME Desktop uses MIME types to:

  • Determine which application should open a specific file format by default.

  • Register other applications that can also open a specific file format.

  • Provide a string describing the type of a file, for example, in a file properties dialog of the Files application.

  • Provide an icon representing a specific file format, for example, in a file properties dialog of the Files application.

Os nomes dos tipos MIME seguen os seguinte formato:

tipo-media/identificador-subtipo

image/jpeg is an example of a MIME type where image is the media type, and jpeg is the subtype identifier.

GNOME segue a especificación Información MIME compartida de freedesktop.org:

  • The machine-wide and user-specific location to store all MIME type specification files.

  • Cómo rexistrar un tipo MIME para que ambiente de escritorio saiba que aplicacións poden usarse para abrir un formato de ficheiro específico.

  • How the user can change which applications should open what file formats.

Que é a base de datos MIME?

The MIME database is a collection of all MIME type specification files that GNOME uses to store information about known MIME types.

The most important part of the MIME database from the system administrator’s point of view is the /usr/share/mime/packages/ directory where the MIME type related files specifying information on known MIME types are stored. One example of such a file is /usr/share/mime/packages/freedesktop.org.xml, specifying information about the standard MIME types available on the system by default. That file is provided by the shared-mime-info package.

Obter máis información

For detailed information describing the MIME type system, see the freedesktop.org Shared MIME Info specification located at the freedesktop.org website: