Proper way to configure ~/.Xsession with a standalone window manager to gracefully end a session
Posted
by
cYrus
on Super User
See other posts from Super User
or by cYrus
Published on 2010-08-25T20:29:43Z
Indexed on
2011/01/11
20:56 UTC
Read the original article
Hit count: 183
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
.
© Super User or respective owner