Comment 20 for bug 1888098

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Ubuntu 20.04 gnome-shell places windows on second screen when started from primary screen

> This is interesting. When running gnome-shell in Wayland the window placement seems to be correct. I've been testing it a bit.

I think that's what I was aiming for with:

  gsettings set org.gnome.mutter center-new-windows true

It likely works better in Wayland because that treats each monitor separately. Whereas Xorg likes to render all monitors as one, so the middle might be the border between the monitors.

> Unfortunately Wayland doesn't allow for remote desktop access so I can't help my customers when something goes wrong.

Please subscribe to bug 1696885 about that. It is blocked by bug 1802533.

> https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3011

Excellent, thanks.

> Do you have any recommendations for an alternative window manager

Canonical doesn't support anything other than Gnome Shell now. Though as you have found even that "support" has its limitations.

I suggest any software that wants a window A to reliably appear over window B should make sure window A is a dialog parented by B, or that A is a modal dialog parented by B. So if you can get that small change made to the POS software then it should work correctly with most window managers including gnome-shell.