#xrandr configuration with 3 monitors positioned in three dimensions (partly overlapping & angled)

1 messages · Page 1 of 1 (latest)

wooden tulip
#

The first image shows how my monitors are arranged in real life and the second how xrandr sees them.
In real life the right (primary; 1920x1080) monitor is a bit behind the left monitor (1680x1050) and angled so it can be better seen when one is in front of the left monitor. The tablet (1280x800) is in front of both real monitors and partly overlapping both.
The problem here is that I see windows too early on the tablet when I drag them from the left or the right. They should instead appear on the tablet when they reach the area that is actually hidden by the tablet.

How I set my current xrand configuration:

xrandr --output HDMI-A-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-0 --mode 1680x1050 --left-of HDMI-A-0 --rotate normal
xrandr --output DVI-I-1-1 --pos 900x750
wooden tulip
#

tl;dr: Basically xrandr "thinks" my tablet is a few centimerter wider than it is so I guess I would need to scale it down? However the scale parameter doesn't seem to work with 0. for me

#

xrandr --output DVI-I-1-1 --scale 0.75x0.75
xrandr --output DVI-I-1-1 --pos 1050x750
worked now... Even tho I get the following when I run the second command now:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Value in failed request:  0x0
  Serial number of failed request:  46
  Current serial number in output stream:  47
#

However it is not quite perfect since up/down has a problem as well:
When I drag windows down, the moment they start appearing on the tablet, there is still a gap on the right screen. Guess the reason is that the right monitor is a bit bigger in high but ugh...

#

Hm, actually xrandr --output DVI-D-0 --scale 1.0286x1.0286 doesn't look too bad...

wooden tulip
#

I need a gap in width somehow

wooden tulip
#

Right monitor needs to start at width of left monitor multipled by the scale factor (1680*1.028=1728)
xrandr --output HDMI-A-0 --primary --mode 1920x1080 --pos 1728x0 --output DVI-D-0 --mode 1680x1050 --pos 0x0