Summary: | Apps are displayed on the wrong screen | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | gregmadman |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | nate |
Priority: | NOR | ||
Version First Reported In: | 5.27.8 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
gregmadman
2023-09-30 22:35:11 UTC
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 :/ |