basedir-spec issue

Mike Hearn mike at
Fri May 7 18:19:29 EEST 2004

On Fri, 07 May 2004 23:39:16 +1200, Laszlo Peter wrote:
> Actually, that's exactly what I'm trying to avoid. Let's say I
> have 2 different versions of GNOME installed in /opt:
> /opt/gnome-2.x and /opt/gnome-2.y. There's no correct setting
> of XDG_DATA_DIRS that would make each build find it's own version
> of the data files. Whereas if $datadir was first in the search
> path, it would just work.

Maybe a better solution (that does not require altering the spec) is
simply for gnome to set XDG_DATA_DIRS on startup to
$datadir:$XDG_DATA_DIRS. That way everything run from within that session
gets the correct path.

More information about the xdg mailing list