mate-session-manager, handle firstrun setting
This commit is contained in:
parent
2d8722eac8
commit
46a698b0aa
2 changed files with 8 additions and 2 deletions
|
|
@ -74,7 +74,13 @@ fi
|
||||||
# Avoid looping if the session configuration tells us to use mate-wm or if
|
# Avoid looping if the session configuration tells us to use mate-wm or if
|
||||||
# the user forces mate-wm via WINDOW_MANAGER
|
# the user forces mate-wm via WINDOW_MANAGER
|
||||||
if [ "x$WINDOW_MANAGER" = "xmate-wm" ]; then
|
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
|
fi
|
||||||
|
|
||||||
if [ -z "$WINDOW_MANAGER" ] ; then
|
if [ -z "$WINDOW_MANAGER" ] ; then
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=3
|
VERSION=4
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue