SDDM - set focus mouse & cursor on primary screen?

I’m using a system with 3 monitors, when logging in or when the screen is locked the focus of the mouse and cursor is always on the second monitor (right) instead of the primary screen.
I just want to set the focus of mouse & cursor on the primary screen, I don’t want to disable the other monitors in sddm.

xrandr | grep -w connected                                                                                            ✔ 
HDMI-1 connected 1920x1080+1920+768 (normal left inverted right x axis y axis) 531mm x 299mm
HDMI-2 connected primary 1920x1080+0+768 (normal left inverted right x axis y axis) 531mm x 299mm
DP-2 connected 1360x768+326+0 (normal left inverted right x axis y axis) 410mm x 230mm

Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.9-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: Dell Inc.
Product Name: OptiPlex 7040

got it!

nano /usr/share/sddm/scripts/Xsetup
xrandr --output HDMI-2 --auto --primary

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