View Single Post

   
  #5 (permalink)  
Old 02-21-2008, 05:33 AM
William Hunt
 
Posts: n/a
Default Re: OT: logout scripting for .xsession?

On Thu, 16 Aug 2007, Peter wrote:
> I normally start X manually from a console and use .bash_profile
> and .bash_logout to set up and clean up my environment. In particular, I
> use fuse for avfs and since it will not unmount without fusermount. I also
> have some local dmcrypt filesystems that need to be manually unmounted and
> the /dev/loop devices cleared.

[...]


how aboout just writing it into a single script,
which would first do your pre- session tasks,
the startup your X session, then (after you're done
with X), do your post- session tasks.

maybe i'm missing something, but that seems simple enough.


--
William Hunt, Portland Oregon USA
Reply With Quote