After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 2124 - Run commands at logout
Run commands at logout
Status: RESOLVED DUPLICATE of bug 60697
Product: gnome-session
Classification: Core
Component: gnome-session
1.5.x
Other All
: Low enhancement
: 2.2.x
Assigned To: Session Maintainers
Session Maintainers
: 72526 80095 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 1999-09-09 16:00 UTC by tcarter
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description tcarter 2001-01-27 19:58:42 UTC
Package: gnome-core
Version: any
Severity: wishlist

I would like to have the ability to run commands at logout with
gnome-session.  For instance, I would like to kill my ssh-agent,
fetchmail, etc.  Right now, I just run it using a .xsession script in my
home directory:

#! /bin/sh
#
. $HOME/.env
eval `ssh-agent -s`
ssh-add < /dev/null
fetchmail -d 100
exec gnome-session
kill $SSH_AGENT_PID
fetchmail --quit

(I could do the startup stuff in gnome-session)
I would like to have gnome-session handle the logout stuff instead...  

-- 
--------------------------------------------------------
Troy Carter                    
228A Marshall Av.      (609) 430-9158 (H)
Princeton, NJ 08540    (609) 243-2941 (O) (PPPL)
tcarter@princeton.edu  http://www.princeton.edu/~tcarter
--------------------------------------------------------




------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 14:58 -------
This bug was previously known as bug 2124 at http://bugs.gnome.org/
http://bugs.gnome.org/show_bug.cgi?id=2124
Originally filed under the gnome-core product and general component.

The original reporter (tcarter@Princeton.EDU) of this bug does not have an account here.
Reassigning to the exporter, debbugs-export@bugzilla.gnome.org.
Reassigning to the default owner of the component, gnome-core-maint@bugzilla.gnome.org.

Comment 1 Gediminas Paulauskas 2002-03-13 13:23:31 UTC
There is another way to run programs at logout (~/.xsession), so
marking as Low priority.

If you can specify which programs to run on login, it could be
possible to make similar settings for logout. Not very useful though,
as ssh-agent exits by itself
Comment 2 Luis Villa 2002-04-15 14:23:42 UTC
*** Bug 72526 has been marked as a duplicate of this bug. ***
Comment 3 jacob berkman 2002-05-01 21:11:26 UTC
*** Bug 80095 has been marked as a duplicate of this bug. ***
Comment 4 Elijah Newren 2003-08-20 16:28:18 UTC
Same as bug 60697, which has more complete description, so I'm marking
this as a duplicate of that bug.

*** This bug has been marked as a duplicate of 60697 ***