I'm using xdm
and my ~/.Xsession
looks like this:
# <initialization stuff here>
exec openbox
It works, but I've noticed that when I log out Openbox
doesn't gracefully kill all the applications. In particular Google Chrome
complains about that.
How can I make sure to wait for all processes to exit (just like others configurations: Gnome, KDE, Windows ...)?
The only (ugly) solution that I've found involves sleep
and kill
into ~/.Xsession
.