#692988 gnome-session: Gnome-session refuses to launch Cairo-dock

Package:
x11-common
Source:
xorg
Submitter:
Frederic MASSOT
Date:
2022-06-07 23:27:04 UTC
Severity:
important
Tags:
#692988#5
Date:
2012-11-11 18:35:49 UTC
From:
To:
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.

#692988#10
Date:
2012-11-11 19:19:01 UTC
From:
To:
Hi,

Excuse me, I submitted twice this bug report.


Regards.

#692988#27
Date:
2022-06-07 23:24:53 UTC
From:
To:
[...]

This patch appears to have been applied a while ago:

https://salsa.debian.org/xorg-team/xorg/-/commit/4e760f217643d8419d4d24a3ebb2b61ac74cf990