Estou executando o xmonad com o gnome-panel, mas não o gnome-settings-daemon. Eu inicio o gnome-panel, gerando em xmonad.hs. Como posso (na linha de comando) obter o gnome-panel para alternar monitores?
xmonad.hs:
myManageHook :: [ManageHook]
myManageHook =
[ resource =? "Skype" --> doFloat
, resource =? "Vncviewer" --> doFloat
, resource =? "gnome-panel" --> doIgnore
, isFullscreen --> doFullFloat
]
startup :: X()
startup = do
spawn "gnome-panel"
main = xmonad $ ewmh defaultConfig
{ modMask = mod4Mask
, terminal = "gnome-terminal"
-- avoidStruts prevents overlap with gnome-panel
-- smartBorders disables border in full screen (or single-window)
, layoutHook = avoidStruts $ smartBorders $ layoutHook defaultConfig
, manageHook = composeAll myManageHook <+> manageHook gnomeConfig
-- docksEventHook reworks windows whenever a dock gets in the way
, handleEventHook = docksEventHook
, startupHook = startup
}