mate-session-manager: Remove CK-based initialization.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-12-10 23:16:14 +07:00
parent 1cf26459e4
commit 40fd77ed0a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 3 additions and 9 deletions

View file

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

View file

@ -12,11 +12,5 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -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
export DESKTOP_SESSION="mate"
dbus-launch --exit-with-session mate-session