On Wed, 21 Jun 2023 22:27:17 +0200 Stakanov <stakanov@disroot.org> wrote:
In data mercoledì 21 giugno 2023 22:12:28 CEST, mh@mike.franken.de ha scritto:
On Mittwoch, 21. Juni 2023 21:29:15 CEST Stakanov wrote:
Hello everyone. I have a multimonitor system, with two Medion and one Lenovo. The Medion are not native DP, but use an adapter to achieve connectivity. The Lenovo is native DP. One Medion stands on the right of the Lenovo, the other on the left. Now, when starting in Plasma there the order is fine and defined in settings:
Medion on the left, Lenovo, Medion on the right.
But when having the three login screens I encounter the problem that this order is not respected. Medion is on the left, then the cursor jumps to the uttermost right to the second Medion and turns then to the Lenovo. So for SDDM the order is Medion, Medion, Lenovo.
Now my question: is there a way I can enforce the very order of monitors defined in plasma KDE onto SDDM?
In some situation (seems stupid, but the cursor is small) it is difficult to understand how to reach the input window and you may think the cursor vanished while it is just on a "monitor odyssey" so to say.
Thank you for the input if anybody by chance knows how to do this, were to set it.
Perhaps this could help:
Create a file /etc/sddm.conf.d/99-my-sddm.conf with the following contents:
[X11] DisplayCommand=/usr/local/sbin/displaymanager-Xsetup
This script could contain something like
xrandr --output "<connector lenovo>" --primary xrandr --output "<connector medion1>" --leftof "<connector lenovo>" xrandr --output "<connector medion2>" --rightof "<connector lenovo>"
You can find the names of the connectors with
xrandr | grep " connected" | awk '{ print $1 }'
Bye Michael.
Brilliant, only that the identification of who is who is somewhat odd:
entropy@localhost:~> xrandr | grep " connected" | awk '{ print $1 }' DP-1 DP-2 DP-3
Which does not tell me who is who so to say. I would need to find out what SDDM thinks is attached to DP-1, DP-2 and DP-3.
Just try it with some order of labels. It may happen to be right. If not, change the order of the labels and try again. Repeat until solved.
If not that is brilliant, just have to find out how to do the aforementioned. This because I am by no means sure that what KDE thinks is on DP-x is also for SDDM alike.