Script display settings: xrandr
After setting the screen via GUI
In the line (in the output of xrandr
after you set the screen via GUI):
HDMI1 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 509mm x 286mm
the position of the second screen (HDMI1
) is defined top-allined, at he the right of your main screen (LVDS1
): 1920x1080+1600+0
, as explained here.
Before setting the screen via GUI
The definition of the position of your right screen seems to be missing for some reason.
I am not sure what causes the behaviour, might be a minor incompatibility, but it should be fixed with the command:
xrandr --output HDMI1 --pos 1600x0
Which will position the second screen at the right of the main screen, top- allined.
I had the same issue, but solved it.
Made an keyboard shortcut to run xrandr command wich looks like this: xrandr --output HDMI-1 --auto --output VGA-1 --off
and, you guessed it, reverse for the monitor to work :)