> 1- what does env return?

I think the problem lies here.

My environment does not export XDG_DATA_DIRS.  If I try it inside gnome,
which exports it, everything works nicely.

According to the XDG Base Directory Specification[1], if XDG_DATA_DIRS is
empty or not set, the defaults should be used. More specifically:

  $XDG_DATA_DIRS defines the preference-ordered set of base directories
  to search for data files in addition to the $XDG_DATA_HOME base
  directory. The directories in $XDG_DATA_DIRS should be seperated with
  a colon ':'.

  If $XDG_DATA_DIRS is either not set or empty, a value equal to
  /usr/local/share/:/usr/share/ should be used.

Maybe something in the stack is not implementing this characteristic of
XDG.

[1]  http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to