[xmonad] Problem with custom layout
Jan-David Quesel
Quesel at gmail.com
Thu Nov 10 10:56:21 CET 2011
Hey,
I used the following layout:
reflectHoriz $ combineTwo (TwoPane delta ratio) (modifyLayout $ tabbed shrinkText defaultTheme) -- 2nd column layout (due to reflect)
(modifyLayout $ tabbed shrinkText defaultTheme) -- 1st column layout (due to reflect), unused
Hope it helps constructing a solution to your issue.
Regards,
Jan
On Tue, Nov 08, 2011 at 01:36:37PM -0800, Phil Thomson wrote:
> Hi Jan,
>
> Thanks for the reply. I actually started with the L.Combo and
> L.LayoutCombinators but had trouble producing the behaviour I
> wanted. I switched to using the Master/Simplest/Tabbed combo on the
> advice of someone on the IRC channel after that didn't work.
>
> Would you mind hpasting or sharing your xmonad.hs if you think
> there's something in it I might be able to steal?
>
> I haven't gotten much response to my post yet, given the discussion
> about the xmonad project itself; maybe I'll try re-posting in a
> while when things are quieter. Didn't get much reply on IRC either.
> Guess I'll just keep at it. :-)
>
> Thanks again,
>
> Phil
>
>
> On Tue, 8 Nov 2011 11:10:26 +0100, Jan-David Quesel wrote:
> >Hi,
> >
> >I have the same issue. The only solution I found so far was using
> >a layout combinator like X.L.Combo but then it really gets messy
> >with switching and shifting windows etc... but it might be a
> >starting point...
> >
> >Regards,
> >Jan
> >
> >On Tue, Nov 08, 2011 at 12:13:40AM -0800, Phil Thomson wrote:
> >>Hi all,
> >>
> >>I have been trying to build a custom layout for my small-screen
> >>netbook. The layout consists of a master area which contains one
> >>window and (if there is more than one window) a slave area in which
> >>all other windows are tabbed.
> >>
> >>My xmonad.hs is here: http://hpaste.org/53712
> >>
> >>The magic comes from this line in myLayoutHook:
> >>
> >>addTabsAlways shrinkText myTabConfig (mastered 0.05 0.5 Simplest)
> >>
> >>which relies on XMonad.Layout.Master, XMonad.Layout.Simplest and
> >>XMonad.Layout.Tabbed.
> >>
> >>The problem for me is that when I have, say, 3 windows open, and
> >>window #3 (the second window in the tabbed slave area) is focused,
> >>if I switch to window #1 (the master window), then window #2 (the
> >>first window in the tabbed slave area) is raised (though not
> >>focused) so that I can no longer see window #3. The behaviour I
> >>would like is for window #3 to remain visible when I switch to the
> >>master window and, more generally, for whatever slave window has
> >>been visible to remain visible when I switch to the master area.
> >>
> >>I have tried another two-paned layout without being able to
> >>eliminate the problematic behaviour.
> >>
> >>Does anyone know 1) another way to implement the layout I am looking
> >>for with the behaviour I want or 2) a way to produce the behaviour I
> >>desire with my existing custom layout?
> >>
> >>Phil
> >>
> >>
> >>_______________________________________________
> >>xmonad mailing list
> >>xmonad at haskell.org
> >>http://www.haskell.org/mailman/listinfo/xmonad
> >>
>
>
--
Jan-David Quesel
Carl von Ossietzky Universität Oldenburg
Department of Computing Science
Correct System Design
D-26111 Oldenburg, Germany
Phone: +49 (0)441 798-2376
Fax: +49 (0)441 798-2965
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20111110/07002afe/attachment.pgp>
More information about the xmonad
mailing list