SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Have a two screens setup (or more) 2. Have the primary screen on the right OBSERVED RESULT All the opened apps and games are launched and displayed on the most left screen even if it is not set as primary EXPECTED RESULT All the opened apps and games should be launched and displayed on the primary screen SOFTWARE/OS VERSIONS Linux: OpenSUSE Tumbleweed 20230927 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version : 6.5.4-1-default (64 bits) Graphical Platform : Wayland
Primary-ness doesn't affect which screen apps are launched on.
(In reply to Nate Graham from comment #1) > Primary-ness doesn't affect which screen apps are launched on. So what is the good use?
Your Primary screen is the one with your first Plasma desktop and any panels on it. As the explanatory text in the Display and Monitor page says: "This determines which screen your main desktop appears on, along with any Plasma Panels in it. Some older games also use this setting to decide which screen to appear on. It has no effect on what screen notifications or other windows appear on."
Ok, thank you for your answer. So I did not understand what beeing "primary" involved for a screen. Is there a graphical way to oblige the games and apps in général to be displayed on a chosen screen ? I have fixed the "problem" by using this command `xrandr --output DP-3 --primary` , but I am not sure that an option does exist in KDE + Wayland to set this parameter.
You can set which screen is primary on the Display and Monitor page in System Settings. In general on Wayland apps and windows open on the screen with the mouse on it. If you'd like to change this you can do so in System Settings > Window Behavior, or using the "Window Rules" feature to force them to always appear on a particular screen.
(In reply to Nate Graham from comment #5) > You can set which screen is primary on the Display and Monitor page in > System Settings. > > In general on Wayland apps and windows open on the screen with the mouse on > it. If you'd like to change this you can do so in System Settings > Window > Behavior, or using the "Window Rules" feature to force them to always appear > on a particular screen. I have set my screen as primary this way using "Display and Monitor" section. Moreover, inside of "Windows behavior", I have added a kwin script called "Always open on primary screen". When activated, all the apps opening on the wrong screen (the lefmost one). If disabled, some of the scripts are displayed on the primary one, and some others (like games) on the leftmost. In my case, some of the apps (including games) are definitely not opening where my mouse cursor is.
I can't comment on what might be going wrong with that 3rd-party script, sorry. I'd recommend that you follow up at https://discuss.kde.org/c/help/6.
(In reply to Nate Graham from comment #7) > I can't comment on what might be going wrong with that 3rd-party script, > sorry. I'd recommend that you follow up at https://discuss.kde.org/c/help/6. I have opened a ticket. Obviously, this script does not work so I have given up. But if I am trying to find a solution using 3rd-party scripts or something else, it is just because the thing is not natively working :/