How to constrain mouse to single screen

Alex Deucher alexdeucher at
Fri Jul 28 06:04:53 PDT 2006

On 7/28/06, Tamas Kerecsen <kerecsen at> wrote:
> Hi everyone,
> I'd like to request some wisdom from the groupmind...
> I'm running X in a dual-screen configuration, with independent screens
> (without xinerama or twinview). I would like to keep my mouse on the primary
> screen at all times (it should bump back from the edge of the primary
> screen, and not cross over to the secondary). Is there an easy way to
> accomplish this?

if you start up X without a screen orientation in your screen layout
that might work, but it's been a while since I tried it. e.g.,
something like:
        Screen      0  "Screen0"
	Screen	    1 "Screen1"


> Thanks!

More information about the xorg mailing list