Using gkrellm as a dock/bar?

I'm trying to use gkrellm (because I've already got the configured the
way I want them) as a status bar with XMonad. I read the faq, tweaked
my xmonad.hs (a modified copy of the original, attached) and set the
dock_type to 1 (which can be done with a config option in recent
versions of gkrellm).
Doesn't work. gkrellm stays in floating space, and the windows don't
shrink to allow it any space. I did try xmobar, and that worked as
expected.
Searching for gkrellm and doc or bar turns up the xmonad FAQ as the #1
hit, and a few things that point to it, and nothing else relevant.
Anyone got any hints as to what my be going on? Anyone using gkrellm
as a status bar with xmonad?
I've attached the xmonad.hs I'm using on the off chance it'll help.
Thanks,

Excerpts from Mike Meyer's message of Tue Nov 22 22:56:49 -0700 2011:
I'm trying to use gkrellm (because I've already got the configured the way I want them) as a status bar with XMonad. I read the faq, tweaked my xmonad.hs (a modified copy of the original, attached) and set the dock_type to 1 (which can be done with a config option in recent versions of gkrellm).
Doesn't work. gkrellm stays in floating space, and the windows don't shrink to allow it any space. I did try xmobar, and that worked as expected.
One thing is to run xprop _NET_WM_STRUT_PARTIAL and click on the gkrellm to confirm it's asking to reserve the appropriate space. (Setting struts to be avoided with avoidStruts.) Also add manageDocks to your manage hook. This is the bit that unmanages DOCK windows. -- wmw

Excerpts from Mike Meyer's message of Tue Nov 22 22:56:49 -0700 2011:
I'm trying to use gkrellm (because I've already got the configured the way I want them) as a status bar with XMonad. I read the faq, tweaked my xmonad.hs (a modified copy of the original, attached) and set the dock_type to 1 (which can be done with a config option in recent versions of gkrellm).
Doesn't work. gkrellm stays in floating space, and the windows don't shrink to allow it any space. I did try xmobar, and that worked as expected.
For posterity: in off-list email we found that the current version of gkrellm doesn't set struts. Setting a static gap with X.Layout.Gaps solved the problem. -- wmw
participants (2)
-
Mike Meyer
-
Wirt Wolff