[xmonad] xmobar, dual-head, and avoidStruts

Andrew Sackville-West andrew at swclan.homelinux.org
Mon Nov 3 11:13:46 EST 2008


On Sun, Nov 02, 2008 at 07:56:56PM -0800, Andrew Sackville-West wrote:
> I finally got around to tweaking my xmonad.hs and had to start using
> avoidStruts but, it doesn't work with xmobar with a Static
> position. Works fine with the other positions: Top, Bottom, etc, but
> with Static, xmonad seems to not know it exists.

So here is a clue. It appears that the Static position doesn't export
it's dimensions. Here is xprop on xmobar run with Top position:

andrew at basement:~$ xprop
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 18, 0, 0, 0, 0, 0, 0, 1279, 0,
0


and xprop of xmobar with Static position:

andrew at basement:~$ xprop
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0


so I guess it's safe to say this is an xmobar problem? 

A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20081103/92411760/attachment.bin


More information about the xmonad mailing list