Christopher Gregory wrote:
I just looked and indeed the file is installed in /etc/xdg/autostart,
so I just reverted the change I made to the page.
I just added /etc/xdg XDG_CONFIG_DIRS to extrapaths.sh so that should
solve other issues as well.
The thing is with copying it to /usr/share/applications it did work when
I re-enabled gdm and rebooted.
There is a difference between /etc/profile in the systemd version of the
book and the trunk version of BLFS.
cd ~/BLFS/branches/systemd
$ grep XDG postlfs/config/profile-systemd.xml
export XDG_DATA_DIRS=/usr/share
(In i18n.sh)
if [ -n "$XDG_CONFIG_HOME" ] && [ -r
"$XDG_CONFIG_HOME/locale.conf" ]; then
. "$XDG_CONFIG_HOME/locale.conf"
---------
cd ~/BLFS/trunk/BOOK
$ grep XDG postlfs/config/profile.xml
export XDG_DATA_DIRS=/usr/share/
export XDG_CONFIG_DIRS=/etc/xdg/
---------
For trunk, in the KDE section is:
cat > /etc/profile.d/kde.sh << 'EOF'
# Begin /etc/profile.d/kde.sh
KDE_PREFIX=/opt/kde
KDEDIR=$KDE_PREFIX
pathappend $KDE_PREFIX/bin PATH
pathappend $KDE_PREFIX/lib/pkgconfig PKG_CONFIG_PATH
pathappend $KDE_PREFIX/share/pkgconfig PKG_CONFIG_PATH
pathappend $KDE_PREFIX/share XDG_DATA_DIRS
pathappend /etc/kde/xdg XDG_CONFIG_DIRS
export KDE_PREFIX KDEDIR
# End /etc/profile.d/kde.sh
EOF
So I recommend for consistency sake, you put
export XDG_CONFIG_DIRS=/etc/xdg/
in /etc/profile.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page