My OS is Slackware 13.37 64-bit. I have two monitors. Primary one supports 1920×1200 and the secondary one 1280×1024. I use this line to enable dual monitors in "non-clone" mode:
xrandr --output HDMI1 --primary --output VGA1 --left-of HDMI1
After I do this, the secondary monitor stops cloning the primary one and acquires its own virtual desktop. However, the primary gets the resolution 1280×1024. After I explicitly set it back to 1920×1200, the secondary monitor gets false info about its boundaries. The bottom part gets a bit longer such that the cursor disappears if I move too much to the bottom (as if there is still space below the monitor edge).
How can I solve this issue?
EDIT:
user@pc:~$ xrandr -q
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 8192 x 8192
VGA1 connected 1280x1024+0+176 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
HDMI1 connected 1920x1200+1280+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
1920x1080 50.0 60.0
1600x1200 60.0
1680x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1280x800 59.8
1280x720 50.0 60.0
1024x768 60.0
800x600 60.3 56.2
720x576 50.0
720x480 59.9
640x480 60.0
DP1 disconnected (normal left inverted right x axis y axis)
Best Answer
One thing you can try:
If you run
xrandr
by itself, it will give you a list of resolutions for each monitor.Observe the one you want for each monitor.
Now on your
xrandr
line that you gave above, you can also set the resolution:xrandr --verbose --output HDMI1 --mode 1920x1200 xrandr --verbose --output VGA1 --mode 1280x1024 xrandr --verbose --output HDMI1 --primary --output VGA1 --left-of HDMI1