2

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.

5
  • 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, 2011 at 18:49
  • @soandos What do you mean by "flipping it positive"? Flip what? Dec 23, 2011 at 18:53
  • Change -1050 to 1050
    – soandos
    Dec 23, 2011 at 18:57
  • @soandos I did that and X now thinks Screen1 is below Screen0. Dec 23, 2011 at 19:01
  • So swap the values for screen 0 and screen 1
    – soandos
    Dec 23, 2011 at 19:03

1 Answer 1

2

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.

2
  • This is not correct...
    – soandos
    Dec 23, 2011 at 20:13
  • Working fine for me. Can you please be more specific? Dec 23, 2011 at 20:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .