From 675a0628c627a83ef04742d22d4822d92330b8ae Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 29 Jan 2014 15:32:30 +0100 Subject: [xorg] Source /etc/profile in Xsession script. This fixes the /etc/profile.d/00-autostart not beeing run when just starting a graphical session. (Fixes the linking of user specific config directory for xfce4 and others) Now xfce4 config are beeing stored in the user's home. --- remote/modules/xorg/data/etc/X11/Xsession | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'remote/modules') diff --git a/remote/modules/xorg/data/etc/X11/Xsession b/remote/modules/xorg/data/etc/X11/Xsession index 914dd2e8..63f594b5 100755 --- a/remote/modules/xorg/data/etc/X11/Xsession +++ b/remote/modules/xorg/data/etc/X11/Xsession @@ -10,6 +10,11 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/o #Workaround to start Xsession. The original Xsession script includes error handling functionality and sources other scrips from the Xsession.d/ directory. +PROFILE="/etc/profile" +if [ -e "$PROFILE" ]; then + . "$PROFILE" || slxlog "xsession" "Xsession: Could not source $PROFILE" "$PROFILE" +fi + SESSIONDIR="/etc/X11/Xsession.d" if [ -d "$SESSIONDIR" ]; then -- cgit v1.2.3-55-g7522