basedir-spec issue

Thomas Leonard tal00r at ecs.soton.ac.uk
Fri May 7 12:45:30 EEST 2004


On Fri, May 07, 2004 at 09:35:42PM +1200, Laszlo Peter wrote:
> hi,
> 
> background: http://bugzilla.gnome.org/show_bug.cgi?id=141901
> 
> problem: if GNOME (or KDE or whatever) is built with a $prefix
> different from /usr or /usr/local, data files in $datadir won't be
> found unless you set XDG_DATA_DIRS, which is kinda broken.

No, that's the intended behaviour. If you install shared files to a
non-standard location then you MUST set XDG_DATA_DIRS so that other
programs can find them.

You don't want your filemanager finding the MIME database, and your email
client not being able to find it (or finding a different version), do you?
Think of all the confusion that would cause.

If the files aren't shared, you shouldn't be using XDG_DATA_DIRS.


-- 
Thomas Leonard			http://rox.sourceforge.net
tal00r at ecs.soton.ac.uk	tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1




More information about the xdg mailing list