Your message dated Wed, 8 Jun 2022 09:24:53 +1000 with message-id <Yp/[email protected]> and subject line Re: Bug#653327: x11-common: Quoting in 20x11-common_process-args breaks starting gnome-session with arguments. has caused the Debian Bug report #653327, regarding gnome-session: Gnome-session refuses to launch Cairo-dock to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 653327: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653327 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: gnome-session Version: 3.4.2.1-3 Severity: normal Hi, I try to use Cairo-dock instead of Gnome-shell. For this cairo-dock provides packages that allows a Gnome + Cairo-dock session. These packages work with Ubuntu. I discuss the problem with the developer of Cairo-dock at this address http://glx-dock.org/bg_topic.php?t=6131 (in french), it seems there is a problem with Debian gnome-session package. The first problem is that the command "Exec=" of file "/usr/share/xsessions/*.desktop" does not support the commands with arguments. The "cairo-dock.desktop" file contains the line "Exec=gnome-session --session=cairo-dock". It does not work with Debian Testing, but works well with Ubuntu. To work around the bug, I wrote a small shell script that contains the line "gnome-session --session=cairo-dock" and in the "Exec=" line I replaced the call to gnome-session by a call shell script. With this, the session starts well but cairo-dock is not running, even if it appears in gnome-session-properties. For cairo-dock is started and running properly, I have to start it manually from a shell. I put the following file in the folder "~/.config/autostart/" but cairo-dock is not running. $ cat cairo-dock.desktop [Desktop Entry] Name=Cairo-Dock (Gnome + Effects) Comment=This session logs you into GNOME with Cairo-Dock and with graphical effects. Exec=/usr/bin/cairo-dock Icon= Type=Application Terminal=false Categories= Regards. -- System Information: Debian Release: wheezy/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.5-trunk-686-pae (SMP w/1 CPU core) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gnome-session depends on: ii gnome-session-bin 3.4.2.1-3 ii gnome-session-common 3.4.2.1-3 ii gnome-settings-daemon 3.4.2+git20120925.a4c817-1 ii gnome-shell 3.4.2-2 Versions of packages gnome-session recommends: ii gnome-power-manager 3.4.0-2 ii gnome-session-fallback 3.4.2.1-3 Versions of packages gnome-session suggests: ii desktop-base 7.0.3 ii gnome-keyring 3.4.1-5 ii gnome-user-guide 3.4.2-1+build1 -- no debconf information
--- End Message ---
--- Begin Message ---On Fri, Oct 11, 2013 at 10:56:49PM +0200, Michael Biebl wrote: >/etc/X11/Xsession.d/20x11-common_process-args fails to process that >additional command line arguments, specifically >STARTUP_FULL_PATH=$(/usr/bin/which "$1" || true) > >"$1" contains "gnome-session --session classic", so "which" fails and >doesn't return /usr/bin/gnome-session. One needs to strip the additional >parameter, which the expression "${1%% *}" does. > >Patch is from Didier Roche, see attachment. [...] >Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/512235 >Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653327 >--- > debian/local/Xsession.d/20x11-common_process-args | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/local/Xsession.d/20x11-common_process-args >b/debian/local/Xsession.d/20x11-common_process-args >index 93e4653..149d1d2 100644 >--- a/debian/local/Xsession.d/20x11-common_process-args >+++ b/debian/local/Xsession.d/20x11-common_process-args >@@ -45,7 +45,7 @@ case $# in > ;; > *) > # Specific program was requested. >- STARTUP_FULL_PATH=$(/usr/bin/which "$1" || true) >+ STARTUP_FULL_PATH=$(/usr/bin/which "${1%% *}" || true) > if [ -n "$STARTUP_FULL_PATH" ] && [ -e "$STARTUP_FULL_PATH" ]; then > if [ -x "$STARTUP_FULL_PATH" ]; then > STARTUP="$1" >-- >1.8.4.rc3 > This patch appears to have been applied a while ago: https://salsa.debian.org/xorg-team/xorg/-/commit/4e760f217643d8419d4d24a3ebb2b61ac74cf990 --bod
--- End Message ---

