When I close out of an XFCE4 session when GAIM is open, Gaim is not properly shut down, it is just terminated. The /tmp/gaim-foobar file remains. This also goes for other programs. This is a problem, because some programs don't save configuartions until the program is closed and won't clean up unless it's closed properly. Xfce4 needs to try to close the programs properly; and if they don't want to close, then then can be killed.
I guess the problem is, that GAIM is not session aware. I'll look into this later.
(In reply to comment #0) > Xfce4 needs to try to close the programs properly; and if they don't > want to close, then then can be killed. I don't think there is any method to close a program 'properly', except by user interaction. Does it work with other environments like GNOME or KDE?
Yes, it works in gnome
Note to self: Check gnome-smproxy source.
I did some research on this topic: xfce4-session, ksmserver and gnome-smproxy all use XKillClient() to 'disconnect' non-sm aware clients. I don't see any other way to shutdown an X client, if the program isn't sm aware.
I was wondering if this is simply a timing issue. Perhaps Xfce ust exits faster and when the X connection is lost, gaim doesn't save settings anymore?
Then it'd be a bug in GAIM (atleast in case of XSMP).
Well, as said, bug in gaim.