[xmonad] gnome-panel not seen as dock?

Jevin Maltais jevin at techie.com
Mon Dec 31 15:22:43 EST 2007


Thanks for your reply Joseph
Hi Joseph,

My understanding is that with ManageDocks, the defaultgaps is no
longer required so I don't have it in my xmonad.hs.  From the
XMonad.Hooks.ManageDocks doc: ".. The second component is a layout
modifier that prevents windows from overlapping these dock windows. It
is intended to replace xmonad's so-called gap support. First, you must
add it to your list of layouts ...".  I could be wrong though.

My .gnomerc is exactly the same as yours.

Also, do all the normal xmonad shortcuts work for you?  Mine simply do not.

Jevin

On Dec 31, 2007 2:52 PM, Joseph Garvin <k04jg02 at gmail.com> wrote:
> I have things working with gnome-panel with only a minor issue (startup
> items that have system tray icons take a long time to start).
>
> Are you missing setting a gap? Relevant xmonad.hs parts:
>
> import XMonad.Hooks.ManageDocks
>
> --For one gnome-panel across top, for usual gnome setup
> --use: myDefaultGaps = [(24, 24, 0, 0)]
> myDefaultGaps   = [(24,0,0,0)]
>
> myLayout = avoidStruts(tiled ||| Mirror tiled ||| Full)
>   where
>      -- default tiling algorithm partitions the screen into two panes
>      tiled   = Tall nmaster delta ratio
>      -- The default number of windows in the master pane
>      nmaster = 1
>      -- Default proportion of screen occupied by master pane
>      ratio   = 1/2
>      -- Percent of screen to increment by when resizing panes
>      delta   = 3/100
>
> Also, how are you getting xmonad to launch in place of metacity? I have this
> in my ~/.gnomerc:
>
>  export WINDOW_MANAGER=/usr/bin/xmonad
>
>
>
>
> On Dec 31, 2007 8:50 AM, Jevin Maltais < jevin at techie.com> wrote:
> > Now we're closer: the config compiles and now we're in gnome with
> > xmonad as the WM.  I know this because I can roll the mouse over a
> > window and it will receive the focus (not normal metacity behavior).
> > Also, the windows have no titlebar.
> >
> > The issue is when I start say, firefox, it gets put in the top left
> > corner _over top_ of the gnome-panel.  Also, firefox didn't launch
> > into fullscreen which is normal xmonad behavior if I run it alone.
> > alt-j and alt-k don't work so it looks like I'm halfway there?  I
> > looked at the keyboard shortcuts in gnome and there doesn't seem to be
> > conflicts.
> >
> > I'm debating throwing out gnome and just using dzen but I'd rather use
> gnome.
> >
> > Sorry about being a nag,
> > Jevin
> >
> > On Dec 31, 2007 5:07 AM, Andrea Rossato <mailing_list at istitutocolli.org>
> wrote:
> > > On Mon, Dec 31, 2007 at 11:04:33AM +0100, Andrea Rossato wrote:
> > > > import XMonad
> > > > import XMonad.Hooks.ManageDocks
> > > >
> > > > port XMonad.Hooks.ManageDocks
> > > >
> > > > main = xmonad $ defaultConfig
> > > >                   { borderWidth      = 3
> > > >                   , manageHook       = manageDocks
> > > >                   , layoutHook       = avoidStruts (tall ||| Mirror
> tall)
> > > >                   }
> > > >                 where tall = Tall 1 (3/100) (1/2)
> > > >
> > > > hope this helps.
> > >
> > >
> > >
> > > sorry for my cut and paste... I meant:
> > >
> > >
> > > import XMonad
> > > import XMonad.Hooks.ManageDocks
> > >
> > > main = xmonad $ defaultConfig
> > >                   { borderWidth      = 3
> > >                   , manageHook       = manageDocks
> > >                   , layoutHook       = avoidStruts (tall ||| Mirror
> tall)
> > >                   }
> > >                 where tall = Tall 1 (3/100) (1/2)
> > >
> > >
> > >
> > > _______________________________________________
> > > xmonad mailing list
> > > xmonad at haskell.org
> > > http://www.haskell.org/mailman/listinfo/xmonad
> > >
> > >
> >
> >
> >
> > --
> > Jevin Maltais [ jevin at techie.com]
> > http://jevy.org
> > _______________________________________________
> > xmonad mailing list
> > xmonad at haskell.org
> > http://www.haskell.org/mailman/listinfo/xmonad
> >
>
>



-- 
Jevin Maltais [jevin at techie.com]
http://jevy.org


More information about the xmonad mailing list