[Xmonad] xinerama and statusbar

Don Stewart dons at galois.com
Fri Sep 14 13:31:38 EDT 2007


droundy:
> On Fri, Sep 14, 2007 at 10:24:29AM -0700, Don Stewart wrote:
> > lobzang:
> > > Hi
> > > 
> > > I'm using a custom statusbar with dzen, in a xinerama environment ( defaultGaps
> > > = [(15,0,0,0)] in config file)
> > > This starts well, however when I open a new window (term) on the second screen,
> > > the statusbar is overlapped by the terminal window.
> > 
> > the status bar gap field is a list of geometries for each physical
> > screen. to have a gap on the second screen, you'd use something like:
> > 
> >       = [(15,0,0,0), (15,0,0,0)]
> > 
> > we might default to running the same gap on all screens -- perhaps that
> > is what most people expect?
> 
> Is there any way we can detect when a program appears to be a status bar?
> Then we could simply adjust the gaps to compensate, which I suspect is what
> people would really expect...

yes, its hard though. EHWM. jcreigh spent ages looking at this for all
the dock apps. then trying to extract the geometries they want, and set
the status bar automagically. 

Jason, care to elaborate on the difficulties?

-- Don


More information about the Xmonad mailing list