XDG_DATA_DIRS consistency
Sanel Zukan
sanelz at gmail.com
Fri Apr 27 11:18:38 PDT 2007
Hi to all,
I would like to ping about XDG_DATA_DIRS (Base directory specs) and default
value which is "/usr/local/share/:/usr/share/". Note that in the specs, only
default values for this (when a directory is named) is ending with slashes, which
is not consistent with other default ones, nor is a common way of
setting multiple directories in an environment variable.
Is there any reason why this could not be "/usr/local/share:/usr/share" ?
AFAIK for all directory variables in specs, is expected that application
do the following construction for the path:
get_xdg_dir() + separator() + file or another directory
Two slashes in the path will not kill anyone, but it would not be a nice
if one see a message box with "Can't open /usr/local/share//foo"
(my random thought :)).
Best,
--
Sanel
More information about the xdg
mailing list