> 
> Ainsi parlait Borsenkow Andrej :
> > Is there any (preferably windows manager independent) way to execute
> > commands upon session exit? Seems, that Gnome has PostSession - the
> > questions are
> >
> > - is there something similar for KDE?
> > - is there something configurable per user?
> ~/.bash_logout ?

1. I use zsh
2. And what if I never even start shell during X session?
3. And what if I start shell with --login (or equivalent) option and
then exit it. Every window will execute this? I want it once on session
exit (just like autostart starts once on session start).

-andrej

Reply via email to