lxdm.Xsession

This commit is contained in:
milisarge 2017-04-21 21:12:43 +03:00
parent 951e418925
commit 4647ddecf3
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@ if [ `which "$1"` ]; then
LXSESSION=$1
else
# default session
ontanimli=grep -ri "exec" ~/.xinitrc | cut -d' ' -f2
LXSESSION=/usr/bin/$ontanimli
LXSESSION=grep -ri "exec" ~/.xinitrc | cut -d' ' -f2
fi
[ -f /etc/profile ] && . /etc/profile