Proposal for a MIME mapping spec

Thomas Leonard tal00r at
Fri Jul 9 12:13:53 EEST 2004

On Thu, Jul 08, 2004 at 01:50:39PM -0400, Jonathan Blandford wrote:
> Thomas Leonard <tal00r at> writes:
> > > The defaults are first read in
> > > $XDG_DATA_DIRS/applications/defaults.list.  It is expected that these
> > > defaults are set solely by the distributor of the system.  Then, a
> > > $MIME_PREFS_LIST environment variable is checked for other preferred
> > > applications.  This is expected to be set by a sysadmin providing their
> > > own defaults.  Additionally, each desktop should prepend its own
> > > defaults to this variable.
> > 
> > Why is this config information in $XDG_DATA_DIRS? Surely it should be in
> > $XDG_CONFIG_DIRS? MIME_PREFS_LIST seems unnecessary, since desktops can
> > already add to XDG_CONFIG_DIRS (ROX-Session adds
> > /uri/0install/ to the choices search
> > path, for example).
> I would expect there to be a one-to-one mapping between the desktop
> directories and the defaults.list, and thus it's XDG_DATA_DIRS.

You mean that a user can only set their default text editor to a text
editor they installed in their home, not to one which was installed with
the system (for example)? I think I must have misunderstood...

Thomas Leonard
tal00r at	tal197 at
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1

More information about the xdg mailing list