[xmonad] gnome-panel not seen as dock?
Joseph Garvin
k04jg02 at gmail.com
Mon Dec 31 14:52:43 EST 2007
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20071231/86138ed6/attachment-0001.htm
More information about the xmonad
mailing list