The windows to be affected can be filtered by application.
Please make sure to install the most recent version (v5.0) and to not use Discover for installation. Please note the additional instructions for configuration on old Plasma versions. In order for the script to work properly you need to have 'Active screen follows mouse' enabled. For more information on installation, setup and usage as well as any requests, please visit the GitHub page.
Alternatives:
- Always Open on Focused Screen (the one that has the focused window)
- Always Open on Primary Screen (the one set as primary in the display settings)
© 2021-2022 Natalie Clarius ‹natalie_clarius@yahoo.de›
with contributions by Joe Defenderfer and Tamim Baschour.
This work is licensed under the GNU General Public License v3.0.
This program comes with absolutely no warranty.
This is free software, and you are welcome to redistribute and/or modify it under certain conditions.
If you would like to thank me, you can always make me happy with a review or a cup of coffee:


Ratings & Comments
18 Comments
10 Please update this for Plasma 6.1! Took this for granted in Plasma 5, workflow is unbearable without it.
10 10 the best
great maj
10 Great script. I noticed it does not work with Snaps but it's not that of a big of a deal.
You mean applications installed as a snap package?
Yes..
Hm, okay. I'm afraid there is nothing about the script I could change to accommodate that, so I guess the only solution is to use native packages if possible.
One thing you could try is set up a window rule to ignore the requested geometry; I just added instructions in the readme on GitHub.
10 You have no idea how long I've struggled with some specific apps not listening to KDE's Window Rules and other WM settings. Thank you.
10 Works perfectly
It looks great, but which one of the 5 versions should I install to have the last stable version ?
The current version is always-open-on-active-screen-20211203004037.kwinscript. I do provide the version information in the package and you can see the version numbers in the Files tab here in the web store, but apparently the installer module built into the KDE system settings doesn't show them. I already filed a bug report for this, and until then will make sure to include version numbers also in the package name for future versions (can't change the existing ones though). Sorry for the confusion.
Oh yes ! Thank you for your fast answer !
This is great, but it appears to override window-specific settings. Is there any way around that?
Can you please describe the problem more precisely?
10 10 the best
10 10 the best, all work properly
10 Perfect, now, with this script the launcher opens windows on the same screen as the launcher (or you can move the mouse in a hurry to place the new window on a different screen). And, in case of multiple sized monitors, the window is fitted onto the new screen. Place a launcher on each screen to get every new window where it belongs every time. Thanks.