lxdm/lxdm-0.5.0-xsessions-openmamba.patch

16 lines
549 B
Diff
Raw Normal View History

diff -Nru lxdm-0.5.0.orig/data/Xsession lxdm-0.5.0/data/Xsession
--- lxdm-0.5.0.orig/data/Xsession 2014-07-18 13:29:45.333063760 +0200
+++ lxdm-0.5.0/data/Xsession 2014-07-18 13:40:39.521124350 +0200
@@ -17,7 +17,10 @@
[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile
-if [ -f /etc/X11/xinit/xinitrc-common ]; then
+if [ "`which $LXSESSION`" ]; then
+# openmamba
+ exec -l bash -c "$LXSESSION"
+elif [ -f /etc/X11/xinit/xinitrc-common ]; then
# fedora
. /etc/X11/xinit/xinitrc-common
exec -l bash -c "$LXSESSION"