Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In xorg.conf, in the ServerLayout section, I'm trying to arrange screens 0 and 1. Screen 1 's left top corner should be up 1050 pixels and right 880 pixels. But negative values seem to be causing an error:

Screen 0 "Screen0" Absolute 0 0
Screen 1 "Screen1" Absolute 880 -1050

How do I accomplish this?

      B----------------+----------------+
      |                |                |
      |                |                |        This is X Screen 1
      |                |                |        Two 1680x1050 screens
      |                |                |
A-----+----------------+----------------+-----+
|                      |                      |
|                      |                      |
|                      |                      |  This is X Screen 0
|                      |                      |  Two 2560x1440 screens
|                      |                      |
|                      |                      |
+----------------------+----------------------+

As you can see, Point B should be up 1050 and to the right 880 of point A.

share|improve this question
    
I believe that you are confused. The top left is (0,0) but as you go down the numbers get positive. Even if the above is not strictly correct, there is no way to get negative values. Try flipping it to positive. –  soandos Dec 23 '11 at 18:49
    
@soandos What do you mean by "flipping it positive"? Flip what? –  Matt Alexander Dec 23 '11 at 18:53
    
Change -1050 to 1050 –  soandos Dec 23 '11 at 18:57
    
@soandos I did that and X now thinks Screen1 is below Screen0. –  Matt Alexander Dec 23 '11 at 19:01
    
So swap the values for screen 0 and screen 1 –  soandos Dec 23 '11 at 19:03

1 Answer 1

up vote 1 down vote accepted

This is the thing I was getting confused about: I was defining Point B's position in relation to Point A, but I should have been defining both of their positions in relation to Point C:

C     B----------------+----------------+
      |                |                |
      |                |                |        This is X Screen 1
      |                |                |        Two 1680x1050 screens
      |                |                |
A-----+----------------+----------------+-----+
|                      |                      |
|                      |                      |
|                      |                      |  This is X Screen 0
|                      |                      |  Two 2560x1440 screens
|                      |                      |
|                      |                      |
+----------------------+----------------------+

This is the correct config.

Screen 0 "Screen0" Absolute 0 1050
Screen 1 "Screen1" Absolute 880 0

Thanks, soandos for leading me in the correct direction.

share|improve this answer
    
This is not correct... –  soandos Dec 23 '11 at 20:13
    
Working fine for me. Can you please be more specific? –  Matt Alexander Dec 23 '11 at 20:16

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.