Connecting two monitors at the corners
Posted
by
fastmultiplication
on Ask Ubuntu
See other posts from Ask Ubuntu
or by fastmultiplication
Published on 2011-03-08T09:29:45Z
Indexed on
2011/03/08
16:18 UTC
Read the original article
Hit count: 213
I am using two separate X screens on two monitors and I would like them to be connected at the lower right corner. That is, if you move to the lower right corner of screen0 the mouse should appear at the upper left of screen1.
I do not want an entire edge of each monitor to be permeable to the mouse.
I modified the xorg.conf file like so:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" Relative "Screen0" 1200 1000
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
(screen 0's resolution is 1280x1024)
so there is a bit of overlap. However whenever I move the mouse to the bottom of screen0, the pointer appears at the upper left of screen1. And, the entire top of screen1 is permeable to the mouse and brings it to the lower left corner of screen0.
I have tried various numbers in following the "relative" statement - if I put 1280 1024 the mouse does not cross over at all. If I use 1280 1023 the entire right side of screen0 is permeable.
I haven't been able to find any documentation about how to explicitly tell the mouse where to crossover - is there some? It seems that xorg is being really aggressive in guessing where the mouse crossover should take place.
Does anyone know how to do this? Thanks!
© Ask Ubuntu or respective owner