[xmonad] "wmctrl -l" lists all my windows as being on the same workspace (0)
Lara Michaels
laramichaels1978 at yahoo.com
Tue Jun 26 19:58:00 CEST 2012
Hello,
When I run wmctrl -l, it lists all my windows as being on the same workspace (workspace 0):
0x03600005 0 ubuntu l at ubuntu: ~
0x02a000a3 0 ubuntu Mozilla Firefox
0x03a000a3 0 ubuntu Inbox - Local Folders - Mozilla Thunderbird
However, when I run wmctrl -d it "knows" xmonad is using 7 workspaces named "1" through "7":
0 * DG: N/A VP: N/A WA: N/A 1
1 - DG: N/A VP: N/A WA: N/A 2
2 - DG: N/A VP: N/A WA: N/A 3
3 - DG: N/A VP: N/A WA: N/A 4
4 - DG: N/A VP: N/A WA: N/A 5
5 - DG: N/A VP: N/A WA: N/A 6
6 - DG: N/A VP: N/A WA: N/A 7
How can I get wmctrl to play nicely with xmonad? From searching the web I thought this would do the trick:
import XMonad.Hooks.EwmhDesktops
main = do
xmonad $ ewmh gnomeConfig { modMask = mod4Mask
, manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig
, workspaces = myWorkspaces
, normalBorderColor = "#cccccc"
, focusedBorderColor = "#cd8b00"
, borderWidth = 3
, layoutHook = showWName myLayout
, logHook = ewmhDesktopsLogHook <+> dynamicLogXinerama
, handleEventHook = ewmhDesktopsEventHook
} `additionalKeysP` myKeys
but wmctrl still says all windows are on workspace 0.
thank you for any help
~l
More information about the xmonad
mailing list