On Fri, Sep 22, 2006 at 02:22:29PM -0400, Landry, Marc-Andre wrote: > There is the login script ~/.xsession. I search around the net and no > docs about a logout script else .bash_logout but what I wan't don't > apply to bash session at all.
If you use .xsession to start the window manager (E17 I assume!), then you will have a line in it that starts the window manager, looking something like /usr/bin/enlightenment-0.17 Note that there is no "&" after this line, because you don't want to background the window manager! The .xsession script runs when X is started, starts the window manager, and continues running until the window manager exits (you can see this using "ps afx" from a shell when X is running). When you exit the window manager, the above line of .xsession finishes, and X continues to run whatever lines come after it. So there is no need for a separate logout script. Just put whatever you want to run at startup *before* the line that starts the window manager, and put whatever you want to run at logout *after* that line. The old-fashioned way of setting up your X session is actually quite powerful. HTH, Toby Cubitt -- PhD Student Quantum Information Theory group Max Planck Institute for Quantum Optics Garching, Germany email: [EMAIL PROTECTED] web: www.dr-qubit.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users