[Xfce4-commits] <xfce4-session:master> Remove deprecated or unused code from xinit.
Nick Schermer
noreply at xfce.org
Wed Apr 11 14:50:01 CEST 2012
Updating branch refs/heads/master
to b35b3bb6049852bc1bd28fd577a401f4b12e585e (commit)
from ec48039196542f0fcdf3d030dab6737e4e8efc90 (commit)
commit b35b3bb6049852bc1bd28fd577a401f4b12e585e
Author: Nick Schermer <nick at xfce.org>
Date: Wed Apr 11 14:48:47 2012 +0200
Remove deprecated or unused code from xinit.
scripts/xinitrc.in.in | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/scripts/xinitrc.in.in b/scripts/xinitrc.in.in
index 5f41a2a..c67232e 100755
--- a/scripts/xinitrc.in.in
+++ b/scripts/xinitrc.in.in
@@ -137,9 +137,7 @@ xsetroot -solid black -cursor_name watch
xfsettingsd &
xfwm4 --daemon
-# start up stuff in $XDG_CONFIG_HOME/autostart/, as that looks to be
-# the new standard. if that directory doesn't exist, try the old
-# ~/Desktop/Autostart method. we're not going to do any migration here.
+# start up stuff in $XDG_CONFIG_HOME/autostart/
if test -d "$XDG_CONFIG_HOME/autostart"; then
for i in ${XDG_CONFIG_HOME}/autostart/*.desktop; do
grep -q -E "^Hidden=true" "$i" && continue
@@ -160,12 +158,6 @@ if test -d "$XDG_CONFIG_HOME/autostart"; then
$cmd &
fi
done
-elif test -d "$HOME/Desktop/Autostart"; then
- for i in `ls -1 -L ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
- if test -x $HOME/Desktop/Autostart/$i; then
- $HOME/Desktop/Autostart/$i &
- fi
- done
fi
xfdesktop&
@@ -197,8 +189,4 @@ EOF
;;
esac
-if test "$ssh_agent_kill_cmd"; then
- eval "$ssh_agent_kill_cmd"
-fi
-
xsetroot -bg white -fg red -solid black -cursor_name watch
More information about the Xfce4-commits
mailing list