[ Prev ] [ Index ] [ Next ]

Metadata Bundle

Created Sunday 02 September 2007 Version 0.1

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.


This bundle type describes the way a file manager for example can handle a bundle according to a desktop file.


The Metadata Bundle MUST follow the specifications of the Bundle and MUST have the bundle type bundle/desktop.

The bundle MUST contains the file bundle.desktop and it MUST be a desktop file according to the freedesktop specification.

Applications recognizing this bundle MUST act as if the bundle had the same properties of the desktop file bundle.desktop.

The bundle can contains a directory Metadata. Every relative path found in the desktop file is to be resolved from this directory in priority. That means that the Metadata directory must be appended at the beginning of the PATH environment variable before executing the Exec key. It also means that icons are searched here also.

If a script or a program is executed by the desktop file, the environment variable BUNDLE_LOCATION MUST be set to the pathname of the bundle. The BUNDLE_TYPE must be set to the type of the bundle, either inode/bundle or inode/bundle.zip for a ZIP bundle.

Backlinks: :Computer:Ideas:Spec:Bundles :Computer:Ideas:Spec:Bundles:v0.1