[xmonad] Using TwoPane

Magnus Therning magnus at therning.org
Wed Oct 28 10:28:59 EDT 2009

On Wed, Oct 28, 2009 at 1:18 PM, Patrick Brisbin <pbrisbin at gmail.com> wrote:
> On 10/28/09 at 12:39pm, Amy de Buitléir wrote:
>> Hi Magnus,
>> 2009/10/28 Magnus Therning <magnus at therning.org>
>> >
>> I start three terminals, t1, t2 and t3, I then switch to TwoPane and
>> > have a screen showing t1 and t2 (t1|t2).  What I want is to have t1
>> > next to t3, so I jump through the windows until I have t1|t3.
>> > However, if I now want to switch focus to t1 I can't seem do that
>> > without changing what windows are visible, however I do it I end up
>> > with t1|t2.  What I have to do is get t3 over to the master area, then
>> > jump through until I have t3|t1.  I have to redo the same steps if I
>> > after that want to switch focus to t3.
>> >
>> I'm using DragPane, but I had the same problem. What works for me is to make
>> sure the focus is in the master area, and then use Alt-Tab until the app I
>> want is in the other pane.
>> Amy
> I use rotFucused* from X.A.CycleWindows to change the focused window of
> either pane independently.
> Works great.
>  import XMonad.Actions.CycleWindows  (rotFocusedUp, rotFocusedDown)
>  -- note: EZConfig notation
>  , ("M-C-k", rotFocusedUp  ) -- Rotate windows up through current focus
>  , ("M-C-j", rotFocusedDown) -- Rotate windows down through current focus

I'll have to look into that... though I must say I was hoping to not
have to add even more keybindings.  In my naïvete I assumed that my
use case was exactly what TwoPane was there to solve ;-)


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

More information about the xmonad mailing list