Re: [wmii] wmii xsession file for dualhead

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Mon, 22 May 2006 09:40:21 +0200

On Mon, May 22, 2006 at 09:33:51AM +0200, Uwe Voelker wrote:
>
> >>Moving the mouse and clicking in the second screen and Alt-Enter opens
> >>the terminal on the first screen.
> >
> > This is a known problem and should be fixed in wmii-3.1 in some
> > weeks. The problem is, that it didn't occured with Xnest
> > multihead setups for me... But this might be related how Xnest
> > handles pointer events.
>
> I mapped two keys to this (lineak):
>
> Backward = DISPLAY=:0.0 wmiiwarp 1 1
> Forward = DISPLAY=:0.1 wmiiwarp 1 1
>
> It works, but I find myself moving the mouse (and wondering my I can't
> input) too often and the 1 1 is a bad position when using stacking (it
> focuses the title bar and not the active window). It should save the
> current mouse position and when the same head is activated again, it
> reads it and uses this instead of "1 1".
>
> I have waited since november for wmii-3, so I can wait for wmii-3.1 too.
>
> > See http://files.aoeu.info/wmii/ for further info about
> > multihead setups with wmii.
>
> Thanks, very interesting.
>
>
> I have a further question:
> How can I send keystrokes to the other screen?
>
> I would like to send cursor movements (up, down, page up, page down) to
> the inactive head. So I could scroll a website or document without
> leaving my "working session" (for instance when following an install guide).

Whenever you prepend DISPLAY=:n.m <command> it will be executed
on the specific head. For internal commands like select you need
to access the specific socket (use the $WMII_ADDRESS of the
specific screen instead).

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Mon May 22 2006 - 09:40:21 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:06:16 UTC