2

I have a dual monitor setup using Kubuntu 17.04. The monitors are connected via DisplayPort to the GTX 1080 of my PC. The dual monitors work fine after the login, and their order is correct.

However when I boot up the machine the login screen displays the monitors in the wrong order: i.e. if my mouse is on the left monitor and I try to move it to the right monitor it will be blocked in the middle of the pair of screens. Instead I have to move it to the extreme left to let it wrap around on the extreme right of the pair of screens.

I know how to configure the screen settings, but this seems to only affect their placement after login. Is there some system-wide configuration file that I can use to fix this?

NB: switching the order of the DP cables does not change this behaviour.

4
  • Settings -> displays -> drag them into the right order
    – brndn2k
    Aug 8, 2017 at 3:39
  • 2
    @brndn2k Does not work. It only changes the order of the monitors after login.
    – Bakuriu
    Aug 8, 2017 at 6:11
  • try this askubuntu.com/a/363992/647604
    – brndn2k
    Aug 8, 2017 at 6:12
  • 1
    @brndn2k That's for ubuntu, not kubuntu. I don't have a .config/monitors.xml file and kubuntu uses sddm not lightdm.
    – Bakuriu
    Aug 11, 2017 at 6:20

1 Answer 1

0

It's simple:
copy ~/.config/monitors.xml to /var/lib/gdm3/.config/ and change owner permissions of monitors.xml to gdm.gdm.

cd ~/.config
sudo cp monitors.xml /var/lib/gdm3/.config
sudo chown gdm.gdm /var/lib/gdm3/.config/monitors.xml

You must log in to answer this question.

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