On Wed, 2010-08-25 at 13:15 +0000, Camaleón wrote: > On Wed, 25 Aug 2010 08:14:39 -0400, John A. Sullivan III wrote: > > > On Wed, 2010-08-25 at 06:45 +0000, Camaleón wrote: > >> (...) > >> > >> Does it work if you place the "defaults.list" file in "~/.local/share/ > >> applications"? > > > I did not try that but it would defeat the purpose of centralized > > administration. > > That was just intended to check your setup. > > If that works, then something is missing at your side. If that also fail, > then you could open a bug report. Yes, indeed, if we place defaults.list in ~/.local/share/applications/ it works. > > >> "echo $XDG_DATA_HOME" returns nothing on my box (not set), so I guess > >> the default path applies ("$HOME/.local/share"). > > > Yes, we intentionally set it. Otherwise, the defaults are simply > > /usr/share and /usr/local/share. > > And what is output of that command? We do not use $XDG_DATA_HOME but rather $XDG_DATA_DIRS and it is set to: XDG_DATA_DIRS=/data/.Common/xdg/default:/usr/share:/usr/local/share::/opt/trinity/share/:/usr/share/
I believe XDG_DATA_HOME is for repointing the user's configuration directory, e.g., ~/.local. As per the links referenced below: "Default applications to use for specific MIME types should be specified in a file called defaults.list. This file is located in the applications subdirectory for each directory in $XDG_DATA_HOME and $XDG_DATA_DIRS." > > JFYI: > > XDG Base Directory Specification > http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html > > Registering Applications for MIME Types > http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-registering.html.en <snip> Thanks for the links. I think we see the problem, the values in $XDG_DATA_DIRS are being superseded by /usr/share/gnome/applications/defaults.list which is a symbolic link to /etc/gnome-vfs-2.0/defaults.list. Where is this /usr/share/gnome/applications coming from and why is it overriding XDG_DATA_DIRS? Thanks - John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1282938656.23985.10.ca...@denise.theartistscloset.com