Wayland Plasma - force panel onto a specific monitor?

X11 KDE Plasma supports the concept of a primary monitor, this will be the monitor on which the panel/launcher appears. Wayland KDE Plasma lacks a display primary monitor setting, so how do I force the Panel+Launcher to appear on a specific monitor?

(I asked this question in the kde forums reponses https://forum.kde.org/viewtopic.php?f=111&t=168663 with the answer that it might not be possible by design.)

I found a “primary monitor” concept to be pretty useless while setting up a Plasma desktop with dual-head.

Panels are established in $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc, and each panel is placed on a specific “screen”. Screens are defined in $HOME/.config/plasmashellrc.

In Xorg+nouveau, “main” panel liked to wander across boots, issue only fixed after I installed proprietary drivers. I attribute this to nouveau renaming monitor connectors.

That said, I don’t know how Plasma would know which applets to move to the primary monitor for Wayland. I’m in fact surprised you can even use Plasma/Wayland under NVIDIA.

Thanks. I logged out of the desktop, logged into a console, started an editor on $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc, searched for panel, and changed lastScreen from 0 to 1:

[Containments][59]
activityId=
formfactor=2
immutability=1
lastScreen=1
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image

That did the trick, on logging into a Wayland desktop the panel is now where I want it to be.

I’m also using the proprietary Nvidia driver. Wayland seems to improve quite a bit each time I try it, but I normally live totally in X11, so it’s not like I’m using it in earnest.