Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1372 - x.org enviroment variables
Attached to Project:
Arch Linux
Opened by Mircea Bardac (IceRAM) - Thursday, 02 September 2004, 19:55 GMT
Last edited by Judd Vinet (judd) - Friday, 10 September 2004, 17:16 GMT
Opened by Mircea Bardac (IceRAM) - Thursday, 02 September 2004, 19:55 GMT
Last edited by Judd Vinet (judd) - Friday, 10 September 2004, 17:16 GMT
|
DetailsAs I said in [1], it would be great if the xorg package would contain a profile.d file (named "xorg.sh") with:
<code> export XDG_DATA_HOME=$XDG_DATA_HOME:/usr/share export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share </code> These settings will be shared through any Desktop Environment. Gnome does not work right with missing "/usr/share" (see [1]). [1] http://bbs.archlinux.org/viewtopic.php?t=6454 |
This task depends upon
<code>
if [ ! -z $XDG_DATA_DIRS ]; then
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share
else
export XDG_DATA_DIRS=/usr/share:$KDEDIR/share
fi
</code>
I think this currently covers the eventual problems in KDE.
<code>
export XDG_DATA_HOME=/usr/share:$XDG_DATA_HOME
export XDG_DATA_DIRS=/usr/share:$XDG_DATA_DIRS
</code>
because some of the DEs might be sensitive to the order of paths in the env variable. As you see in my previous comment, KDE has that "if" which makes sure "/usr/share" is put first and "$KDEDIR/share" is always last.