Multihead GDM

This is another “GNOME3 doesn't really have everything working right yet” thing. If I were GNOME3 devs, I would probably leave it alone until Weston/Wayland matures and then switch to that. X going away would be a good thing.

Anyway, when I start up GDM, it misconfigures my monitors and instead of “1 2 3” it has them as “2 3 1”, which as you might imagine, is annoying. I tried fixing it in /etc/gdm/Init/Default, but apparently that script runs before the X server is fully ready.

But I found this way, and it works pretty good:

First, configure your monitors as your user in Mac OSGNOME System Settings.


# cp /home/<user>/.config/monitors.xml /var/lib/gdm/.config/
# chown gdm:gdm /var/lib/gdm/.config/monitors.xml
# systemctl restart gdm