[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash_logout & xsession help needed



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?

Wouldn't a .xsession file like this do this:

$ cat ~/.xsession

gnome-session
echo hello > /tmp/logout

Or am I missing something?

--
Groetjes
joostje
1f1c8cdd94ddb3264368a4ec8c8369f4-592b9df7b0a20369a50b47f8db73f8b635bc637c



Reply to: