mate-session-manager: Fix #2

Signed-off-by: willysr <willysr@slackware-id.org>
This commit is contained in:
willysr 2014-02-18 15:54:01 +07:00
parent 68edfa4d2a
commit 2007cdc792
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,7 @@
PRGNAM=mate-session-manager
VERSION=${VERSION:-1.7.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_msb}
if [ -z "$ARCH" ]; then

View file

@ -13,8 +13,10 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $usermodmap ] && xmodmap $usermodmap
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
export DESKTOP_SESSION="mate"
exec ck-launch-session dbus-launch --exit-with-session mate-session
else
export DESKTOP_SESSION="mate"
exec mate-session
fi