[Xfce-bugs] [Bug 7040] New: Startxfce4 overrides existing xdg data directories

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Dec 28 10:50:24 CET 2010


http://bugzilla.xfce.org/show_bug.cgi?id=7040

           Summary: Startxfce4 overrides existing xdg data directories
    Classification: Xfce
           Product: Xfce-utils
           Version: 4.7.3
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: mrpouit at gmail.com


Hi,

/usr/bin/startxfce4 seems to override existing xdg data directories by
prepending @_datadir_@ to it (see line 37 of scripts/startxfce4.in).

According to the xdg spec
(<http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html>), the
first directory in the list is the most important one, so @_datadir_@ became
the most important one, and any existing one, set, e.g., by the distributor is
"overridden".

Thus, I guess that:
  XDG_DATA_DIRS="@_datadir_@:$XDG_DATA_DIRS"
should be replaced by
  XDG_DATA_DIRS="$XDG_DATA_DIRS:@_datadir_@"

Thanks!

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list