Skip to content

Commit 9a19da8

Browse files
committed
'mate-wm': ignore wrong user setting from dconf
1 parent 8683697 commit 9a19da8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

data/mate-wm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ done
4343
# WINDOW_MANAGER overrides all
4444
if [ -z "$WINDOW_MANAGER" ] ; then
4545
WINDOW_MANAGER=`gsettings get org.mate.session.required-components windowmanager 2> /dev/null | sed -r -e "s/^'([^']*)'$/\\1/"`
46+
if [ -n "$WINDOW_MANAGER" ] ; then
47+
if ! command -v "$WINDOW_MANAGER" > /dev/null 2>&1; then
48+
# Known bug: xcompiz / "Migrate compiz to compiz-manager" (=next block) is now not working anymore.
49+
echo "Window manager $WINDOW_MANAGER executable not found."
50+
WINDOW_MANAGER=""
51+
fi
52+
fi
4653
fi
4754

4855
# Migrate compiz to compiz-manager if possible and needed

0 commit comments

Comments
 (0)