5

I am using xrandr via console to enable/disable secondary monitors. This work fine so far. Unfortunately if I move my mouse beyond one screen, it appears on the other one. How can I disable this feature - and lock the mouse to one screen?

I use Ubuntu 10.10 and awesome - no GNOME/KDE.

htorque
  • 66,086

1 Answers1

-1

You can use XCreateMouseVoid to prevent mouse from entering rectangular areas on your (combined) screen, see this question for example setup. Use xrandr -q to figure out the parameters for XCreateMouseVoid.

taneli
  • 2,629