LightDM how do I set monitor positions

Hello!

I’m using 3 monitors and for Xfce I’m able to set the positions the way I want, however at login (lightdm) the monitors are arranged in a different order.

I tried searching the web and found a post on askubuntu where someone had a similar problem, but the answer suggested copying a “monitors.xml” that doesn’t seem to exist on EndeavourOS.
Other solutions to similar problems included creating a “display-setup-script” for /etc/lightdm/lightdm.conf, but I’m not confident on how to do that.

So to my question: Is it possible to configure the monitor positions for lightdm and how would I do that?

Thank you

If the monitors are equivalent then the easiest way is to physically move them around.

2 Likes

point in direction

" https://wiki.archlinux.org/title/LightDM "

it have a section " [ Multiple-monitor setup] " you might find interesting

  • " LightDM displaying in wrong monitor " :blush:
2 Likes

Sadly all three of them are in a different size :pensive:

1 Like

I looked into it, the example didn’t really help because it only talked about the primary monitor, but I managed to get it to work.

I had to look into xrandr, but after a bit of trial and error i came up with this:

#!/bin/bash
xrandr --output DVI-D-0 --left-of HDMI-0
xrandr --output HDMI-0 --primary
xrandr --output DP-0 --right-of HDMI-0

However the screens were aligned at the top, so with some more testing I came up with:

#!/bin/bash
xrandr --output DVI-D-0 --pos 0x390
xrandr --output HDMI-0 --primary --pos 1680x0
xrandr --output DP-0 --pos 4240x360

This is the script i put at display-setup-script in /etc/lightdm/lightdm.conf and the monitors are now in the correct position on the login screen.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.