[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: xrandr - Multiple monitors, one rotated, mouse can disappear into non-desktop space
From:       Ryan Felder <rfelder () cyc ! com>
Date:       2017-05-16 22:09:33
Message-ID: CALxVSgATNKsb2FZ=uKW-WOaHPGBO42qKSTHar6Xtg7mi4MWY4A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Felix, your observation solved it!

All I had to do was xrandr --output HDMI2 --pos 1200x538

Now that the monitors are directly touching in X, the mouse boundaries work
perfectly. Thank you!

On Tue, May 2, 2017 at 12:10 PM, Ryan Felder <rfelder@cyc.com> wrote:

> I can't seem to find any mention of this elsewhere. I have two monitors on
> a machine, the primary is portrait, the secondary is landscape. I can
> 'lose' my mouse in the empty space above my landscape monitor.
>
> If I have two monitors of different sizes, but no rotation, the mouse
> stops at the screen border where I would expect, preventing me from losing
> my mouse, but this functionality does not appear to be preserved when
> rotation is the cause of the different sized monitors.
>
> I cannot seem to find any xrandr setting to address this. I am running
> Ubuntu 16.04, Elementary/Pantheon desktop environment. My xrandr output is
> below. Is there anything I can do to fix this?
>
> Screen 0: minimum 8 x 8, current 3125 x 1920, maximum 32767 x 32767
> DP1 disconnected (normal left inverted right x axis y axis)
> DP2 disconnected (normal left inverted right x axis y axis)
> HDMI1 connected primary 1200x1920+0+0 left (normal left inverted right x
> axis y axis) 520mm x 320mm
>    1920x1200     59.95*+
>    1920x1080     60.00
>    1600x1200     60.00
>    1680x1050     59.88
>    1280x1024     60.02
>    1280x960      60.00
>    1024x768      60.00
>    800x600       60.32
>    640x480       59.94
>    720x400       70.08
> HDMI2 connected 1920x1200+1205+538 (normal left inverted right x axis y
> axis) 520mm x 320mm
>    1920x1200     59.95*+
>    1920x1080     60.00
>    1600x1200     60.00
>    1680x1050     59.88
>    1280x1024     60.02
>    1280x960      60.00
>    1024x768      60.00
>    800x600       60.32
>    640x480       59.94
>    720x400       70.08
> VGA1 disconnected (normal left inverted right x axis y axis)
> VIRTUAL1 disconnected (normal left inverted right x axis y axis)
>
>
>
>


-- 
Ryan Felder
Systems Administrator

p: 512-342-4048
e: rfelder@cyc.com

[Attachment #5 (text/html)]

<div dir="ltr">Felix, your observation solved it!  <div><br></div><div>All I had to \
do was xrandr --output HDMI2 --pos 1200x538</div><div><br></div><div>Now that the \
monitors are directly touching in X, the mouse boundaries work perfectly. Thank \
you!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 2, \
2017 at 12:10 PM, Ryan Felder <span dir="ltr">&lt;<a href="mailto:rfelder@cyc.com" \
target="_blank">rfelder@cyc.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">I can&#39;t seem to find any mention of this \
elsewhere. I have two monitors on a machine, the primary is portrait, the secondary \
is landscape. I can &#39;lose&#39; my mouse in the empty space above my landscape \
monitor.<div><br></div><div>If I have two monitors of different sizes, but no \
rotation, the mouse stops at the screen border where I would expect, preventing me \
from losing my mouse, but this functionality does not appear to be preserved when \
rotation is the cause of the different sized monitors.</div><div><br></div><div>I \
cannot seem to find any xrandr setting to address this. I am running Ubuntu 16.04, \
Elementary/Pantheon desktop environment. My xrandr output is below. Is there anything \
I can do to fix this?</div><div><br></div><div><div style="font-size:12.8px">Screen \
0: minimum 8 x 8, current 3125 x 1920, maximum 32767 x 32767</div><div \
style="font-size:12.8px">DP1 disconnected (normal left inverted right x axis y \
axis)</div><div style="font-size:12.8px">DP2 disconnected (normal left inverted right \
x axis y axis)</div><div style="font-size:12.8px">HDMI1 connected primary \
1200x1920+0+0 left (normal left inverted right x axis y axis) 520mm x 320mm</div><div \
style="font-size:12.8px">     1920x1200       59.95*+</div><div \
style="font-size:12.8px">     1920x1080       60.00   </div><div \
style="font-size:12.8px">     1600x1200       60.00   </div><div \
style="font-size:12.8px">     1680x1050       59.88   </div><div \
style="font-size:12.8px">     1280x1024       60.02   </div><div \
style="font-size:12.8px">     1280x960         60.00   </div><div \
style="font-size:12.8px">     1024x768         60.00   </div><div \
style="font-size:12.8px">     800x600          60.32   </div><div \
style="font-size:12.8px">     640x480          59.94   </div><div \
style="font-size:12.8px">     720x400          70.08   </div><div \
style="font-size:12.8px">HDMI2 connected 1920x1200+1205+538 (normal left inverted \
right x axis y axis) 520mm x 320mm</div><div style="font-size:12.8px">     1920x1200  \
59.95*+</div><div style="font-size:12.8px">     1920x1080       60.00   </div><div \
style="font-size:12.8px">     1600x1200       60.00   </div><div \
style="font-size:12.8px">     1680x1050       59.88   </div><div \
style="font-size:12.8px">     1280x1024       60.02   </div><div \
style="font-size:12.8px">     1280x960         60.00   </div><div \
style="font-size:12.8px">     1024x768         60.00   </div><div \
style="font-size:12.8px">     800x600          60.32   </div><div \
style="font-size:12.8px">     640x480          59.94   </div><div \
style="font-size:12.8px">     720x400          70.08   </div><div \
style="font-size:12.8px">VGA1 disconnected (normal left inverted right x axis y \
axis)</div><div style="font-size:12.8px">VIRTUAL1 disconnected (normal left inverted \
right x axis y axis)</div><div style="font-size:12.8px"><br></div><div \
style="font-size:12.8px"><br></div><div><br></div> </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><table \
style="border-collapse:collapse;border-spacing:0px;max-width:100%;font-family:Roboto,Verdana,Arial;font-size:medium"><tbody><tr><td \
valign="top" style="padding:0px 8px 0px 0px"><img \
src="https://img.newoldstamp.com/f/000/044/u731.png?58f589e28a392" \
style="border:0px;vertical-align:middle" width="200" height="83"></td><td \
valign="top" style="font-size:12.8px;font-family:Arial;border-left:3px solid \
rgb(169,169,169);border-top-color:rgb(169,169,169);border-right-color:rgb(169,169,169);border-bottom-color:rgb(169,169,169);padding:0px \
0px 0px 8px"><div style="font-size:1.2em">Ryan Felder</div><span><span \
style="font-size:0.9em;font-weight:bold">Systems Administrator</span>    </span><div \
style="line-height:1em;font-size:1em">  </div><div><span><span \
style="font-size:0.9em;color:rgb(171,171,171)">p:  </span><span \
style="font-size:0.9em">512-342-4048</span>  </span></div><div><span><span \
style="font-size:0.9em;color:rgb(171,171,171)">e:  </span><span><a \
href="mailto:rfelder@cyc.com" \
style="background:transparent;color:rgb(0,0,0);font-size:0.9em" \
target="_blank">rfelder@cyc.com</a></span>  </span></div><div \
style="line-height:1em;font-size:1em">  </div></td></tr></tbody></table><div \
style="font-family:Roboto,Verdana,Arial;line-height:10px;font-size:10px"><br></div></div></div></div></div></div></div>
 </div>


[Attachment #6 (text/plain)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic