Bug#889907: mate-session-manager: mate-wm does not work if $WINDOW_MANAGER is not set
Denis Dordoigne
denis-debian at dordoigne.eu
Thu Feb 8 16:13:51 UTC 2018
Package: mate-session-manager
Version: 1.18.2-1
Severity: important
Dear Maintainer,
The mate-wm script try to get the name of the window manager using "gsettings get". "gsettings get" give the value between quotes, and the mate-wm script does not remove them before executing it : the command cannot be found.
If you want to reproduce the bug, run "unset WINDOW_MANAGER && mate-wm" :
****************
denis at kamoulux:~$ unset WINDOW_MANAGER
denis at kamoulux:~$ gsettings get org.mate.session.required-components windowmanager
'marco'
denis at kamoulux:~$ bash -x /usr/bin/mate-wm
+ SMID=
+ DEFWM=
+ GET=
+ '[' -z '' ']'
++ gsettings get org.mate.session.required-components windowmanager
+ WINDOW_MANAGER=''\''marco'\'''
+ '[' 'x'\''marco'\''' = xcompiz -o x = xcompiz ']'
+ '[' 'x'\''marco'\''' = xmate-wm ']'
+ '[' -z ''\''marco'\''' ']'
+ '[' -z ''\''marco'\''' ']'
+ OPT1=
+ OPT2=
+ OPT3=
+ OPT4=
+ '[' '!' -z '' ']'
+ case `basename $WINDOW_MANAGER` in
++ basename ''\''marco'\'''
+ exec ''\''marco'\'''
/usr/bin/mate-wm: line 159: exec: 'marco': not found
***************
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mate-session-manager depends on:
ii dbus-x11 1.12.2-1
ii dconf-gsettings-backend [gsettings-backend] 0.26.1-3
ii debian-mate-default-settings 1.18.2-1
ii libatk1.0-0 2.26.1-3
ii libc6 2.26-6
ii libcairo-gobject2 1.15.10-1
ii libcairo2 1.15.10-1
ii libdbus-1-3 1.12.2-1
ii libdbus-glib-1-2 0.110-2
ii libgdk-pixbuf2.0-0 2.36.11-1
ii libglib2.0-0 2.54.3-2
ii libgtk-3-0 3.22.26-2
ii libice6 2:1.0.9-2
ii libpango-1.0-0 1.40.14-1
ii libpangocairo-1.0-0 1.40.14-1
ii libsm6 2:1.2.2-1+b3
ii libsystemd0 237-1
ii libx11-6 2:1.6.4-3
ii libxau6 1:1.0.8-1+b2
ii libxext6 2:1.3.3-1+b2
ii libxrender1 1:0.9.10-1
ii libxtst6 2:1.2.3-1
ii mate-desktop-common 1.18.0-2
Versions of packages mate-session-manager recommends:
ii caja 1.18.5-2
ii marco 1.18.2-1
ii mate-panel 1.18.7-4
ii mate-polkit 1.18.2-2
ii mate-settings-daemon 1.18.2-1
mate-session-manager suggests no packages.
-- no debconf information
More information about the pkg-mate-team
mailing list