Re: [dev] exiting dwm correctly

From: Thomas Dahms <>
Date: Tue, 28 Jun 2011 20:49:28 +0200

2011/6/28 Thuban <>:
> Hello
> I can't find mails about exiting dwm properly, in order to kill every
> process launched before dwm when using a .xinitrc file as example. Can
> you help me finding it please?
> thank you

There was a thread about properly terminating the loop that updates
your status bar [1].

If you want to kill everything started in .xinitrc you could remember
every PID to kill them all at the end:
xbindkeys &
wicd-client &
kill $PID1 $PID2

You would have to be sure that the programs keep their PID and are not
replaced by child processes. Otherwise you would kill random processes
in the end.


Thomas Dahms
Received on Tue Jun 28 2011 - 20:49:28 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 28 2011 - 21:00:07 CEST