[xmonad] xmonad hides xfce4-panel

Damian Philipp damian.philipp at gmx.net
Sun Jun 15 06:20:51 UTC 2014


Hello xmonad experts,

I am trying to set up xmonad (0.11 from Ubuntu repository) as a WM for
xfce on a fresh install of Lubuntu 14.04. I configured xmonad.hs as
instructed on the Wiki page (The file is so short, I included it inline
at the end of this mail).

When I start xfce using xfwm4 and then run "xmonad --replace" from a
terminal, I practically arrive at my dream desktop. However, when I
configure xfce to autostart xmonad, I can briefly see the xfce4 panel
flash up and then immediately disappear. xmonad just leaves an empty
space where the panel is supposed to be. mod-b toggles the empty space
but does not show the panel. The default configuraiton of Lubuntu is to
have a single panel at the top of the screen.

I can revive the panel by briefly running xfwm4:

$ killall xmonad-x86_64-linux
$ xfwm4
$ xmonad --replace

But that is not really a permanent solution.

I looked through the archives, but all I cloud find was posts relating
to the interaction of the panel workspace indicator and xmonad
workspaces, nothing about the panel going AWOL. What do I have to do to
make both the panel show up and run xmonad as my default WM to xfce?

Regards,
Damian Philipp

My xmonad.hs:

> import XMonad
> import XMonad.Config.Xfce
>  
> main = xmonad xfceConfig
>             { modMask = mod4Mask
>             , terminal = "xfce4-terminal" }


More information about the xmonad mailing list