Re: [wmii] Dual-monitor setup

From: Jakob <jakob_AT_pipefour.org>
Date: Mon, 8 Oct 2007 21:14:19 -0700

On Mon, Oct 08, 2007 at 03:04:33PM +0200, dragan dimitrijevic wrote:

> This may not apply to your version of wmii but you can use the same
> principle:
>
> address=unix!/tmp/ns.$USER.:0.$display/wmii
> view=`wmiir -a $address read /view/name`
> x=`wmiir -a $address read /$view/sel/sel/geom | awk '{ print $1}'`
> y=`wmiir -a $address read /$view/sel/sel/geom | awk '{ print $2}'`
> DISPLAY=:0.$display wmiiwarp $x $y
>
> Moving from one screen to the other will warp the mouse to the last selected
> window.

Cool! Thanks for the tip!

Jakob
Received on Tue Oct 09 2007 - 06:16:27 UTC

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