How do I align the bottom edges of two monitors with xrandr?
Posted
by
denaje
on Super User
See other posts from Super User
or by denaje
Published on 2012-10-08T18:43:08Z
Indexed on
2012/10/08
21:40 UTC
Read the original article
Hit count: 401
I have two outputs that I'd like to use on my laptop:
LVDS1 - 1366x768
HDMI1 - 1920x1080
I set my monitors up like so:
xrandr --output LVDS1 --auto --output HDMI1 --auto --right-of LVDS1
This is all well and good, but my laptop sits considerably lower than my external monitor, and with the top edges of the screens being aligned, it makes the jump from one screen to the other rather unintuitive. Is there a way I can align the bottom edges instead? I thought I could use the --pos flag to do this, but I have tried and not seen any difference (perhaps I do not know how to use it properly).
EDIT: Solved. Thanks to tink's link, I deconstructed the Python script and discovered the way to do this is as follows:
xrandr --output LVDS1 --pos 0x312 # 312 = 1280 - 768
xrandr --output HDMI1 --pos 1366x0
Not sure I understand exactly what the --pos flags are doing here, but it at least works!
© Super User or respective owner