[xmonad] Applications cover xmobar

Sergey Manucharian ingeniware at gmail.com
Thu Sep 30 07:59:06 EDT 2010


Hi Guillaume,

Excerpts from Guillaume Thouvenin's message of Thu, 30 Sep 2010 13:40
+0200:

> I'm new to xmonad and I observe a strange behaviour with the status 
> bar. 
> .....
> I can see the status bar in a workspace when it is empty but when I 
> start an application (xterm, firefox, ...) the application covers the 
> status bar and therefore I can not see it. I tried to modify 
> lowerOnStart = False but this hides the top of my application. I'm 
> using xmonad 0.9.1-2 and xmobar 0.9.2-1 with ubuntu 10.04.

You should tell xmonad to not use the area of the status bar, 
The following is a quote from [1]:

-----------------------------8<-----------------------------
Wrap your layouts with avoidStruts from XMonad.Hooks.ManageDocks for
automatic dock/panel/trayer spacing: 

 import XMonad
 import XMonad.Hooks.ManageDocks
 
 main=do
   xmonad $ defaultConfig
     { ...
     , layoutHook=avoidStruts $ Tall ||| Wide ||| Full
     , manageHook=manageHook defaultConfig <+> manageDocks
     , ...
     }
-----------------------------8<-----------------------------

Cheers,
Sergey

[1] http://wiki.archlinux.org/index.php/Xmonad


More information about the xmonad mailing list