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.

2
  • This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. :)
    – Ringtail
    Feb 27, 2012 at 21:33
  • This question should be reopened because it is very clear and well specified. (Maybe after an edit) Ant it is a relevant question, everybody using two screens has it, and it can be extremely annoying, for example when a scrollbar is near the screen border, and the mouse is configured somewhat fast. Reaching for the scrollbar switches screens when moving the pointer about 5 pixel too far. Apr 29, 2018 at 9:16

1 Answer 1

-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.

You must log in to answer this question.