Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg xrandr scaling, invisible wall
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Sep 17, 2016 11:48 pm    Post subject: Xorg xrandr scaling, invisible wall Reply with quote

Is there any way to work around the bug described here https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/883319 in Gentoo?

Even though the bug is old, it seems to still not be resolved, just look at the bottom of the thread, users are still reporting issues.

It also affects me. It occurs when using two monitors, one with a high resolution and another external monitor with a lower resolution and you want the two resolutions to match.

A way to achieve this is to use --scale for xrandr in this way:

Code:

xrandr --output [external monitor] --scale 2x2 --right-of [internal monitor]


This works, it displays perfectly as it should, however the mouse is restricted to an invisible boundary/wall defined by what the actual resolution of the monitor is!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Sep 18, 2016 3:58 pm    Post subject: Reply with quote

I've had the same problem and never found a workaround.

I see several patches in that bug but looks like Xorg developers just don't care.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sun Sep 18, 2016 5:47 pm    Post subject: Reply with quote

"--panning" does the trick:
Code:
xrandr --output [external monitor] --scale 2x2 --panning 2732x1536 --right-of [internal monitor]

Adjust the numbers to the correct resolution, of course.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum