Re: Setting default GNOME settings with XDG_DATA_DIRS
- From: "John A. Sullivan III" <jsullivan@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Aug 2010 15:50:56 -0400
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:Yes, indeed, if we place defaults.list in ~/.local/share/applications/
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.
it works.
We do not use $XDG_DATA_HOME but rather $XDG_DATA_DIRS and it is set to:
"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?
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."
<snip>
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
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-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/1282938656.23985.10.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Setting default GNOME settings with XDG_DATA_DIRS
- From: Camaleón
- Re: Setting default GNOME settings with XDG_DATA_DIRS
- From: John A. Sullivan III
- Re: Setting default GNOME settings with XDG_DATA_DIRS
- References:
- Setting default GNOME settings with XDG_DATA_DIRS
- From: John A. Sullivan III
- Re: Setting default GNOME settings with XDG_DATA_DIRS
- From: Camaleón
- Re: Setting default GNOME settings with XDG_DATA_DIRS
- From: John A. Sullivan III
- Re: Setting default GNOME settings with XDG_DATA_DIRS
- From: Camaleón
- Setting default GNOME settings with XDG_DATA_DIRS
- Prev by Date: Re: Problems on Lenny with Lexmark s605 AIO
- Next by Date: Re: Get a list of obsoleted packages
- Previous by thread: Re: Setting default GNOME settings with XDG_DATA_DIRS
- Next by thread: Re: Setting default GNOME settings with XDG_DATA_DIRS
- Index(es):
Relevant Pages
|