[xmonad] dzen2 not recognized by avoidStruts on non-rectangular desktop

Samir Unni srunni at gmail.com
Mon Jan 3 18:09:24 CET 2011


On 01/03/2011 06:01 AM, Wirt Wolff wrote:
> Sorry for not responding earlier. What version of dzen are you using?

0.8.5.

> I'm pretty sure this was fixed in dzen over a year ago. IIRC it was
> dschoepe who sent the patch in, so if he or Rob is still around on
> #xmonad they might be able to confirm that. Anyway, using dzen svn-271
> a setup like yours works fine. Also you need the xinerama support
> compiled in, i.e. dzen2 -xs 2 blah blah works.

I always use the -xs 2 flag when launching dzen2, and xinerama support 
is compiled in.

> I suppose if arch
> doesn't have a svn version you might have to build it yourself.

There is a dzen2-svn PKGBUILD in the AUR. I've tried using both it and 
version 0.8.5 from the stable repos, and both give me the same result. 
The _NET_WM_STRUT_PARTIAL setting being missing was only fixed when I 
applied the dzen2 patch Justin supplied.

> Here's an image of screens with tops aligned 1200px high on L and 768
> on R. Four dzens:  http://ompldr.org/vNnR0dg

Are those red and blue strips the dzen2 instances? That's exactly what 
I'm trying to do.

> Hope that helps. It is a little rough in that xmonad doesn't redraw
> screens until something changes, so at first windows would overlap,
> but if your dzens are started before you start creating windows that's
> not an issue.

This problem persists throughout the session, so I don't think that's it.

> Also once the dzens are started they don't adjust to
> screen geometry changes, so if you change resolutions you need to
> restart them.

I only set the screen geometry once (at login), so that shouldn't be an 
issue.



More information about the xmonad mailing list