Re: bash_logout & xsession help needed

2004-11-03 Thread Michael Graham
On Tue, 02 Nov 2004 20:48:41 +, Michael Graham wrote: > I have this simple .xsession > > #!/bin/bash -l > > gnome-session > > and this even simpler .bash_logout > > echo hello > /tmp/logout > > When I logout from a console the file /tmp/logout is created (as expected) > but when I logout o

Re: bash_logout & xsession help needed

2004-11-03 Thread Michael Graham
On Wed, 03 Nov 2004 09:58:31 +0100, Joost Witteveen wrote: > Wouldn't a .xsession file like this do this: > > $ cat ~/.xsession > > gnome-session > echo hello > /tmp/logout > > Or am I missing something? Yes I would, but what I trying to figure out is why the ~/.bash_logout is not being ran sin

Re: bash_logout & xsession help needed

2004-11-03 Thread Joost Witteveen
Michael Graham wrote: I have this simple .xsession #!/bin/bash -l gnome-session and this even simpler .bash_logout echo hello > /tmp/logout When I logout from a console the file /tmp/logout is created (as expected) but when I logout of gnome the file isn't created. Can anyone explain this behaviour

Re: bash_logout & xsession help needed

2004-11-02 Thread Michael Graham
On Tue, 02 Nov 2004 23:48:25 +, Thomas Adam wrote: > This was discussed this month on the list. See here, and follow-up posts: > http://lists.debian.org/debian-user/2004/10/msg02163.html Indeed, I even replied to it ([1] from my email at uni), but I want to be able to execute code after I logo

Re: bash_logout & xsession help needed

2004-11-02 Thread Thomas Adam
--- Michael Graham <[EMAIL PROTECTED]> wrote: > I have this simple .xsession > but when I logout of gnome the file isn't created. Can anyone explain > this > behaviour? This was discussed this month on the list. See here, and follow-up posts: http://lists.debian.org/debian-user/2004/10/msg0216

bash_logout & xsession help needed

2004-11-02 Thread Michael Graham
I have this simple .xsession #!/bin/bash -l gnome-session and this even simpler .bash_logout echo hello > /tmp/logout When I logout from a console the file /tmp/logout is created (as expected) but when I logout of gnome the file isn't created. Can anyone explain this behaviour? -- OoberMick