On Sat, 2004-11-27 at 17:58, Thomas Beresford wrote: > I want to run some commands whenever I logout the window manager. I thought > that > using bash_logout script would do the thing but it does't. I'm running > fluxbox as > my window manager. Is there a way to do it? Is is a window manager specific > configuration? Please help me! Thanks!
You should be able to find some discussions about this topic in the archives. Look for a thread called "bash_logout & xsession help needed". If I am not mistaken ~/.bash_logout is executed when you log out of a shell. and all commands after 'exec window_manager' in ~/.xsession or ~/.xinitrc are run after the window manager terminates. So I guess (I haven't tried though) you should modify your ~/.xsession or ~/.xinitrc to something like: --- ~/.xsession | ~/.xinitrc --- gkrellm -w & exec fluxbox echo "fluxbox terminated" > ~/.fluxbox.log -- EOF --- HTH Bram -- # Mertens Bram "M8ram" <[EMAIL PROTECTED]> Linux User #349737 # # SuSE Linux 8.2 (i586) kernel 2.4.20-4GB i686 512MB RAM # # 7:22pm up 14 days 10:05, 10 users, load average: 0.10, 0.15, 0.08 # -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]