GNOME Bugzilla – Bug 2124
Run commands at logout
Last modified: 2004-12-22 21:47:04 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.
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
*** Bug 72526 has been marked as a duplicate of this bug. ***
*** Bug 80095 has been marked as a duplicate of this bug. ***
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 ***