mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2025-01-14 08:01:24 +01:00
mate-session-manager: Fix #2
Signed-off-by: willysr <willysr@slackware-id.org>
This commit is contained in:
parent
68edfa4d2a
commit
2007cdc792
2 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
PRGNAM=mate-session-manager
|
PRGNAM=mate-session-manager
|
||||||
VERSION=${VERSION:-1.7.2}
|
VERSION=${VERSION:-1.7.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
|
|
@ -13,8 +13,10 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||||
[ -f $usermodmap ] && xmodmap $usermodmap
|
[ -f $usermodmap ] && xmodmap $usermodmap
|
||||||
|
|
||||||
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
|
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
|
exec ck-launch-session dbus-launch --exit-with-session mate-session
|
||||||
else
|
else
|
||||||
|
export DESKTOP_SESSION="mate"
|
||||||
exec mate-session
|
exec mate-session
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue