Re: How to run a program before logging out

2004-10-21 Thread Michael Graham
Toshiro wrote: > Anybody knows if there is a way to execute some command(s) before > logging out from a gnome session? If you create an executable file in your home directory called .xsession #!/bin/bash gnome-session some-other-commands (remember to do chmod +x .xsession) then chose "default"

Re: How to run a program before logging out

2004-10-21 Thread David Baron
On Thursday 21 October 2004 00:11, [EMAIL PROTECTED] wrote: > Anybody knows if there is a way to execute some command(s) before logging > out from a gnome session? This is a reply to a similar post I made on the KDE list. I assume there may be something quite similar around gnome: > How does on

Re: How to run a program before logging out

2004-10-20 Thread Toshiro
Ok, I know about bash_logout, but I want to run a command when I exit the gnome session, not a terminal/console. Is it possible to do this? > Incoming from Toshiro: > > Anybody knows if there is a way to execute some command(s) before logging > > out from a gnome session? > > Create a ~/.bash_lo

Re: How to run a program before logging out

2004-10-20 Thread s. keeling
Incoming from Toshiro: > Anybody knows if there is a way to execute some command(s) before logging out > from a gnome session? Create a ~/.bash_logout (0) keeling /home/keeling_ cat .bash_logout (cd ; date ; uptime ; echo " ") >> /home/keeling/dox/uptime.txt This will be run for every inst

How to run a program before logging out

2004-10-20 Thread Toshiro
Anybody knows if there is a way to execute some command(s) before logging out from a gnome session? Thanks, Toshiro. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]