mate-session-manager, handle firstrun setting

This commit is contained in:
Ruben Rodriguez 2017-04-08 20:22:10 -04:00
parent 2d8722eac8
commit 46a698b0aa
2 changed files with 8 additions and 2 deletions

View file

@ -74,7 +74,13 @@ fi
# Avoid looping if the session configuration tells us to use mate-wm or if
# the user forces mate-wm via WINDOW_MANAGER
if [ "x$WINDOW_MANAGER" = "xmate-wm" ]; then
WINDOW_MANAGER=""
if [ $IS_X_COMPOSITED = 0 ]; then
WINDOW_MANAGER="marco-compton"
gsettings set org.mate.session.required-components windowmanager marco-compton
else
WINDOW_MANAGER="marco-no-composite"
gsettings set org.mate.session.required-components windowmanager marco-no-composite
fi
fi
if [ -z "$WINDOW_MANAGER" ] ; then

View file

@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=3
VERSION=4
. ./config