2nd Screen acts weird on boot and in KDE

Hi everyone!

To start off, below will be screenshot of monitors’ settings in case if those will be needed to solve my issue (problem will be below screenshot)

So recently I got myself a second monitor. I connected it to second DP port on my GPU and everything was fine until I started noticing some weird things. In KDE all windows that are opened for the first time are appearing on second monitor (even though Viewsonic is chosen to be primary). In SDDM there is double login (and by default the main one is on 2nd monitor). When system boots up the screens are mirroring themselves.

Any suggestions on how can I fix it?

P.S I use Wayland if this is necessary to solve DE problem

my 1st suggestion would be to drop wayland . i’m not familiar with kde (i’m on xfce), but i know wayland gives problems sometimes.
i also have 2 monitors ,and the way mine works is ,if mouse cursor is on 2nd monitor for instance , whatever i open will open on that monitor , and vice versa .
applications opens where ever the mouse cursor is at that point .(according to my setup)
but anyway , i think your main problem is probably wayland.

i just noticed you got the 2nd monitor (viewsonic) set as default .
maybe thats why stuff is using that monitor ?
usually ( i would think) default monitor shows up on the left , like mine?

as for mirror displays , is this enchecked?
again, i’ on xfce and not sure about kde settings

For mirroring it’s not KDE’s fault at least on boot

Sorry I guess I confused you a little bit. The new stuff appears on Xiaomi’s monitor even though Viewsonic is set to primary

hmm k , perhaps some1 on kde could help better.
just for laughs , have you tried x11 and see if it is the same ?

I tried X11 but it didn’t help me =)

then it’s probably something in your display settings

Maybe… I guess i’ll wait for someone who knows more about KDE. But anyways thanks for trying to help me

Hi @Werameli,
Re SDDM
Log in(to) X11 session.
xrandr | grep connected
tells you the monitor names. Note them.

su
nano /usr/share/sddm/scripts/Xsetup

and add these 2 lines with your device names

xrandr --output eDP-1 --auto --primary
xrandr --output HDMI-1 --off

Add these lines to /etc/sddm.conf

[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

Relog into Wayland.

Re Applications
Should your plasma is up to date use Super+P to extend Left.
I’m not sure but without rules some applications are opened where they were closed previously.
Generally mouse cursor defines the active monitor and if shortcuts are used. Apps start there.
Apart from this check this:


Peace

1 Like

Opening windows in KDE/Wayland mostly seems to follow the mouse.

1 Like

Thanks for the help! And thanks for also helping me in my other thread :slight_smile:

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