can't rearrange multiple rotated displays

I use ARandR (a front-end to XRandR) for this. ARandR is independent of your graphical environment; it is not a part of GNOME but should work fine if you are running GNOME or whatever else. (I prefer a minimalist setup and run Xfce.)

Screen capture of ARandR Screen Layout Editor

To enable a display that is not currently on, go to the Outputs menu, hover your mouse over the connection type, and check the Active box.

Once you have your desired layout, save it to a file (e.g. ~/.screenlayout/triple-head.sh). You can set this to load automatically by making the file executable (chmod +x ~/.screenlayout/triple-head.sh) and then adding it to Startup Applications Preferences in your Control Center (the saved layout is the Command, the Name is what you see in the menus, and the Comment is a description of what this does). In certain(?) circumstances, the configuration is loaded automatically upon launching your X session.

You can also switch between saved layouts in the same kind of manner; just execute the saved layout, perhaps with a keyboard shortcut or even a script to recognize the different monitors as they are plugged in.


Running Ubuntu 14.04 LTS, I was able to reproduce your problem using both unity-control-center (the default "System Settings" manager for Ubuntu) and mate-display-properties (which implements "Monitor Preferences" for the MATE desktop alternative). If you just rotate the displays, it won't let you simply drag them closer together -- seems like a bug, maybe this one.

I was able to work around the issue by just messing around a bit (after setting the desired orientation). Here's a sequence that seems to work (given my particular starting arrangement):

  • Drag display 3 to sit below and diagonal to display 1.
  • Drag display 2 to sit adjacent to display 1.
  • Drag display 3 to sit adjacent to display 2.

It's like some kind of sliding puzzle, where you can't go directly from the beginning to the end, but instead have to transition through intermediate "legal" states.

Below is a screenshot after the first step is completed.

enter image description here


EDIT: 3+ years later, I can no longer reproduce the fix that I posted here. There is clearly a bug in the MATE version of the tool.

ARandR is nice for multiple reasons:

  • It doesn't suffer from the rotation bug (it knows the correct geometries for each display).
  • It doesn't have the snapping feature, so you can put the displays where you want them.
  • It lets you save your layouts as a shell scripts -- giving you a quick way to restore prior states

There is a very detailed and comprehensive post by Nicolas Bernaerts to rearrange a multiple-monitor setting using xrandr and make the changes persistent here.

The post mentions that it is for a dual-monitor setup but it can also be used for a triple-monitor setup.