I have two monitors side by side and they work nicely on my KDE Plasma
desktop session. However, in SDDM display manager (login screen) the
monitors are in wrong order.

Below is a picture of the two situations. Arrows in the picture show how
the mouse cursor travels from screen to screen. You need a fixed width
font to see my character "art" correctly.

SDDM login screen:
>        +-------------+  +-------------+
>        |             |  |             |
>     ---+--->         |  |          ---+-->
>        |             |  |             |
>        +-------------+  +-------------+

User's KDE Plasma session:
>        +-------------+  +-------------+
>        |             |  |             |
>        |          ---+--+--->         |
>        |             |  |             |
>        +-------------+  +-------------+

It's only SDDM login screen so the problem is small but obviously it
would be nicer if SDDM would have screens in the right order too. I know
that I can add "xrandr" commands in SDDM startup scripts. I also know
that I can psysically connect specific cables to specific monitors and
change user's KDE Plasma session settings istead of SDDM.

But I like my physical monitor hardware in this particular order and I
would prefer the least hackish software configuration. My current best
idea is to edit /etc/sddm.conf with lines something like:

    [X11]
    DisplayCommand=/root/bin/fix-monitor-order.sh

And the script would execute "xrandr" with my preferred options and
finally run the default setup file /usr/share/sddm/scripts/Xsetup. But
that's not too nice for a desktop system. After all a major Linux
desktop system should handle multiple monitors without such low-level
hackery, right?

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

Attachment: signature.asc
Description: PGP signature

Reply via email to