Session saver

Brian J. Tarricone bjt23 at cornell.edu
Mon Apr 18 03:15:16 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kristy Christie wrote:
> Okay, I solved my session problem by directly editing the
> "/home/kristy/.config/xfce4-session/xfce4-session.rc" file
> and saying:
[snip]
> 
> Also, I _had_ to create the symlinks to both firefox & thunderbird
> within my /home/kristy/Desktop/Autostart folder.

Firefox and Thunderbird are broken with regard to session management:
IIRC they report an incorrect binary name (e.g. firefox-bin instead of
firefox) when asked by the session manager how to start them.  I'd
suggest *not* messing with the xfce4-session.rc file, and using symlinks
or scripts in ~/Desktop/Autostart to start them up.  I believe if the
session manager finds client startup data in the main config file, it
won't look in the actual session files (in ~/.cache/sessions/), so the
session manager is essentially broken in that configuration.  I could be
wrong about that though.  This is probably the reason that Gaim doesn't
start without what you say below.

> Now, when I log into XFCE, the right apps start up in the right virtual
> desktops i.e. firefox in the first, thunderbird on the second etc
> (as for gaim & skype, I just added the symlinks to the Autostart folder
> as it didn't matter which virtual desktop was used)

Gaim for me starts up fine for me with the session, no need for
~/Desktop/Autostart.  I don't want Skype to start up automatically, so I
don't know about that one.  My guess would be it doesn't support session
management properly; in my experience, most proprietary software doesn't
handle "advanced" stuff like that properly.

	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCYwok6XyW6VEeAnsRAgHFAJ9Ryp5BeR9SKbAl2PRsoTV5gJvAmQCgz/PK
UmcYSVKLoBvtpcw2Kn3fz4k=
=FntF
-----END PGP SIGNATURE-----



More information about the Xfce mailing list