Arch Linux

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!
Tasklist

FS#2363 - Wrong initial directory in Gnome profile.d script

Attached to Project: Arch Linux
Opened by Viktor Peters (Mythoz) - Sunday, 13 March 2005, 11:53 GMT
Last edited by Dale Blount (dale) - Sunday, 13 March 2005, 16:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

/etc/profile.d/gnome.sh:
[...]
if [ ! -z $XDG_CONFIG_DIRS ]; then
export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$GNOMEDIR/etc/xdg
else
export XDG_CONFIG_DIRS=/usr/share:$GNOMEDIR/etc/xdg
fi


'/usr/share' should be '/etc/xdg' in the last export.
'/usr/share' is for XDG_DATA_DIRS

This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 13 March 2005, 17:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  new gnome profile script doesn't touch these vars, instead, we let xorg.sh handle them. Also does away with the duplicate /usr/share paths.
Comment by Viktor Peters (Mythoz) - Sunday, 13 March 2005, 12:04 GMT
Also noticed /usr/share appers twice in XDG_DATA_DIRS:

XDG_CONFIG_DIRS=/etc/xdg:/usr/share:/opt/gnome/etc/xdg:/opt/kde/etc/xdg:/opt/xfce4/etc/xdg
XDG_DATA_DIRS=/usr/share:/usr/share:/opt/gnome/share:/opt/kde/share:/opt/xfce4/share

/etc/profile.d# grep -r "/usr/share" .

./xorg.sh: export XDG_DATA_DIRS=/usr/share
./xorg.sh: export XDG_DATA_DIRS=/usr/share:$XDG_DATA_DIRS
./xfce4.sh:[ -z $XDG_DATA_DIRS ] && XDG_DATA_DIRS=/usr/share
./gnome.sh: export XDG_DATA_DIRS=/usr/share:$GNOMEDIR/share
./gnome.sh: export XDG_CONFIG_DIRS=/usr/share:$GNOMEDIR/etc/xdg

Do not see how it happens... :(

kde.sh seems not to use the default locations (/etc/xdg, /usr/share, ... ) at all.

Loading...