Today, I stumbled over a post on Reddit which is about the issue of apps opening on Plasma6/Wayland wherever they want, so I am not the only one with this issue.
Common denominator is a setup with two monitors (TV and normal monitor), where the TV is used exclusively for media. This worked very well with Plasma5/XWindows, but it’s very broken under Plasma6/Wayland. How can I restrict apps (except the media player) to the computer monitor?
Is there an easy way to force all apps to open on one monitor only, except for the media player (mpv in my case)? Is there a good HOWTO for the setup of these Window Rules in general? Couldn’t find any so far.
Suggestion: Make this a lot easier. I don’t think many people really need control over any subwindow class etc. My use case shouldn’t be difficult to set up, and it’s most likely what most users would want.
But this isn’t restricted to windows restore only.
Why can’t I tell an app – or generally all apps – that they should open on one specific monitor only? What decides where they open?
Konsole opens quite often on my TV, which it isn’t supposed to do. There’s a primary monitor with the taskbar. I want all apps to open on it, except for the media player. How to do this?
Don’t tell me it cannot be done. The taskbar at least knows its place. Why can’t the apps do the same?
With the “Screen” set to your supposedly monitor number.
And create a additional one, but instead of “Window class (application)” “Unimportant” more specific for your Media player, set to the other screen and give that a higher priority (at the top of the Window Rules list).
And if you want to set the Position specifically (instead of the screen) X zero Y zero is top left on your top left most Monitor.
it’s a good thing the task bar placement works isn’t it… well, I see more of this sort of post recently. Perhaps someone will notice. Being able to “arrange and order” things (statically or dynamically) is not a unique requirement/request.
After Testing my above Window rules settings. made in 5 Minutes from scratch, the last few days for two Monitors it works pretty well. Especially if one is only for Media Players aka a TV i would think.
For my 3 Monitor setup, where I have basically 2 main Monitors (both, or rather all, with a Taskbar) not so much.. Here I would prefer if the applications opened nicely centered on the Monitor from which I use the Taskbar Applicationstarter from.
With my current setting: System Settings > Window Management > Window Behavior > Advanced > Window placement > "Under mouse"
It at least opens on the Monitor I start it from, just not as nicely as I personally would like.
I’m only now coming around to set it up and test it, but your report is encouraging.
@eeyore : This settings panel would need an ‘easy’ / ‘advanced’ switch. I’d think 80% of people would be happy to know on which monitor in a multi-monitor setup an app appears.