@Peter25 In case of KDE: https://forum.endeavouros.com/t/dock-on-wrong-display/73314/2
Should it be MATE:
mate-display-properties
and Set as primary for your primary monitor. Or (add a New panel, add items to it,) uncheck Expand, Right click select Move and picking at the right border you can drag it to the nth monitor. Easy peasy