Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My OS is Slackware 13.37 64-bit. I have two monitors. Primary one supports 1920x1200 and the secondary one 1280x1024. 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 1280x1024. After I explicitly set it back to 1920x1200, 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)
share|improve this question
1  
For future reference, please don't crosspost. The SU version of your post was deleted –  Michael Mrozek Sep 6 '11 at 0:48
    
Can you post the output of xrandr -q and /etc/X11/xorg.conf –  MaxMackie Nov 21 '11 at 6:40
    
I added the output. Can't post xorg.conf, sinc I'm now working on Ubuntu 11.10. Here I have the same problem but with the upper border. –  azerIO Nov 21 '11 at 11:18

1 Answer 1

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

share|improve this answer
1  
Doesn't help. It just treats the down bottom of the VGA screen as if its border is deeper below. The rest (up, left, right) borders are correct. No idea what to do. –  azerIO Sep 23 '11 at 11:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.