4
$ xrandr
VGA1 connected 1024x768+1366+0 (normal left inverted right x axis y axis) 0mm x 0mm

I don't understand what the number 1366 in 1024x768+1366+0 represents. Can I change its value?

2
  • 1
    Are you using a dual-monitor setup? 1366 is horizontal offset of that display.
    – muru
    Apr 26 '15 at 5:56
  • Yes, i'm using a dual-monitor setup. Thank you
    – Helio
    Apr 26 '15 at 15:28
6

As Muru mentions, the 1366 is the horizontal offset of your screen.

How to read the output of xrandr

An example:

enter image description here

Imagine your two screens, placed together into a frame. Together, they will make a virtual screen as you can see above. In the output of xrandr, the left screen shows: 1680x1050+0+347. The last two figures; +0+347 show the x and y distance (px) of the upper left corner of the screen, to the upper left corner of the virtual frame they are in.

The right screen shows 1280x1024+1680+0. The +1680+0 shows similar information, as you can see in the image

Can You change these values?

Within boundaries, yes. An example to make both screens top-alligned:

xrandr --output DVI-I-1 --pos 0x0

Where DVI-I-1 is my left screen

This will create the situation as below:

enter image description here

More on the options of xrandr here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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