Hi,

I have a better identified the two problems.

The first problem is that the line "Exec=" of file "/usr/share/xsessions/*.desktop" does not support the command with arguments. However, the gnome-session command accepts arguments. Ubuntu version corrects this problem.

The second problem is more strange.

In gnome-session-properties in the "Options" tab, when you check "Remember automatically applications running at logout" to logout it creates files in the folder "~/.config/gnome-session/saved-session/".

In the case where there was an terminal open when logout, it creates a file called "cairo-dock.desktop" in the folder "~/.config/gnome-session/saved-session/". This file contains:

[Desktop Entry]
Name=Terminal
Comment=Use the command line
TryExec=gnome-terminal
Exec=gnome-terminal --sm-client-id 10b640906f608ec80d135297575769740300000019930029 --sm-client-state-file /home/fredo/.config/session-state/gnome-terminal-1352976798.desktop
Icon=utilities-terminal
Type=Application
X-GNOME-DocPath=gnome-terminal/index.html
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-terminal
X-GNOME-Bugzilla-Component=BugBuddyBugs
X-GNOME-Bugzilla-Version=3.4.1.1
Categories=GNOME;GTK;Utility;TerminalEmulator;
StartupNotify=true
OnlyShowIn=GNOME;
X-GNOME-Autostart-startup-id=10b640906f608ec80d135297575769740300000019930029
X-GNOME-Autostart-discard-exec=/bin/rm -rf /home/fredo/.config/session-state/gnome-terminal-1352976798.desktop


This is the file "~/.config/gnome-session/saved-session/cairo-dock.desktop" is causing the problem, if one removes before connecting cairo-dock is started.

I do not understand why the terminal is associated with a session file named "cairo-dock.desktop".

I tried to close the session with just Firefox launched without a terminal, and the session file for Firefox called "1049abe3421476eca2135297964752518300000058440031.desktop", it does not interfere with cairo-dock.



Regards.
--
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:[email protected]   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===========================Debian=GNU/Linux===


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to