Re: Setting default GNOME settings with XDG_DATA_DIRS
On Tue, 24 Aug 2010 21:35:33 -0400, John A. Sullivan III wrote:
> Hello, all. We're having some difficulty properly setting GNOME
> defaults using XDG_DATA_DIRS. In our specific case, we are trying to
> set the system default for all users to acroread from Evince because
> Evince is not properly rendering some of the more complicated documents.
>
> We set
> XDG_DATA_DIRS=/data/.Common/xdg/default:/usr/share:/usr/local/share::/
opt/trinity/share/:/usr/share/
>
> /data/.Common/xdg/default has an applications directory with a
> defaults.list file setting the default pdf application for
> application/pdf and application/vnd.adobe.pdf to AdobeReader.desktop
> which points to acroread.
(...)
Does it work if you place the "defaults.list" file in "~/.local/share/
applications"?
"echo $XDG_DATA_HOME" returns nothing on my box (not set), so I guess the
default path applies ("$HOME/.local/share").
Greetings,
--
Camaleón
Reply to: