gnome-panel broken with xmonad session in 14.04

In 14.04, I've installed both gnome-session-flashback and xmonad.

  • When logging in using lightdm and the XMonad+Gnome session, the gnome-panel is broken, with half the indicators missing.

  • When logging in with a flashback session, and then running xmonad --replace, everything works as expected.

  • I've tried copying the RequiredComponents line from /usr/share/gnome-session/sessions/gnome-flashback.session to xmonad.session (replacing metacity with xmonad) but it doesn't help.

I guess something is still missing with my xmonad.session. What?


Solution 1:

Here's how I got xmonad+gnome-panel to work. Tested on Ubuntu 14.04 desktop 64-bit.

  1. Install xmonad:

    sudo apt-get install xmonad gnome-panel
    
  2. Create ~/.xmonad/xmonad.hs with the following [1]:

    import XMonad
    import XMonad.Config.Gnome
    
    main = do
        xmonad $ gnomeConfig
    
  3. Select session "GNOME with Xmonad" at lightdm

Hope this helps.

"GNOME with Xmonad"