I am using Ubuntu 18.04 LTS with gnome on a Thinkpad x250 connected to two external monitors through a docking station:
Monitor 1: Internal LCD, Disabled
Monitor 2: Dell 24"
Monitor 3: Eizo 17", Rotated
I have set them up accordingly in settings > devices > displays
accordingly:
But it seems to just act as one big display where the menubar or maximized windows extend across both screens, the 24" display is 'zoomed' (seems to render the combined resolution of both monitors) so moving the mouse to the sides pans the screen, and is vertically limited by the resolution of the smaller screen.
The smaller screen is 'anchored' to the top-right and does not pan.
I feel like this is some kind of mirroring issue, but I'm really confused as there is no mirroring option available?
xrandr --current
output: https://pastebin.com/7EhJrj5C
Best Answer
With the help of this solution, I realized it is just a matter of some basic math and
xrandr
commands which I will outline as simply as I can here:Run
xrandr
to determine the names of your display outputs. In my case, I have:Calculate the full size of your framebuffer
--fb
, in my case, I want to use only my external displays:First clear/rest xrandr settings
Then turn off the laptop display
Then position the primary display to
0x0
, set as--primary
and set panning to its own resolution:Then position the second screen to the right at
1920x0
, set the framebuffer and rotate it accordingly:Popping these lines into a script I run after docking helps set everything up, and it resets back to the internal LCD when I remove it.