On Wed, 2010-08-25 at 06:45 +0000, Camaleón wrote:
> 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"?
I did not try that but it would defeat the purpose of centralized
administration.
> 
> "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.
<snip>
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/1282738479.17097.1.ca...@denise.theartistscloset.com

Reply via email to