X11: Always honor ~/.xsession.
See http://thread.gmane.org/gmane.linux.distributions.nixos/2879 . svn path=/nixos/trunk/; revision=17814
This commit is contained in:
parent
f3472f7163
commit
6472ee4d20
@ -57,9 +57,12 @@ let
|
|||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
|
||||||
# Allow the user to setup a custom session type.
|
# Allow the user to setup a custom session type.
|
||||||
if test "$sessionType" = custom; then
|
if test -x ~/.xsession; then
|
||||||
test -x ~/.xsession && exec ~/.xsession
|
exec ~/.xsession
|
||||||
sessionType="" # fall-thru if there is no ~/.xsession
|
else
|
||||||
|
if test "$sessionType" = "custom"; then
|
||||||
|
sessionType="" # fall-thru if there is no ~/.xsession
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The session type is "<desktop-manager> + <window-manager>", so
|
# The session type is "<desktop-manager> + <window-manager>", so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user