[xmonad] Avoiding multiple status bar processes after XMonad restart

Jacek Generowicz jacek.generowicz at cern.ch
Sun Jan 15 09:01:17 CET 2012

Brandon Allbery wrote:

> On Sat, Jan 14, 2012 at 19:49, Jacek Generowicz <jacek.generowicz at cern.ch>wrote:

> Also, I've still got the problem that the new xmobars don't play
> nicely with toggle struts.
> ???

When I log in and xmonad starts up for the first time, toggle struts
avoids the xmobar and dzen exactly as expected. After an XMonad
restart, the newly spawned xmobars and dzens stay on top of any other
windows, so when MXonad is not in avoid struts mode, the status bars
cover up the top/bottom of the managed windows.

If we hark back to the stage where every XMonad restart spawned a new
status bar, but the old ones didn't die, I could manually kill all the
new ones, leaving just the very first one, and then toggle struts
behaviour was just fine, which shows that the problem was with the
newly-spawned ones.

More information about the xmonad mailing list