Ulauncher window positioning issues (Wayland) #1350
friday
announced in
Troubleshooting
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Wayland maintainers and Gnome desktop have taken a strong stance against applications being able to position their windows, as well as getting the cursor location. Without these capabilities it is not possible for Ulauncher to render itself correctly.
If you must use Wayland on Gnome, we recommend to set it to center new windows. You can run this command in a terminal and it will do that:
gsettings set org.gnome.mutter center-new-windows true
. Since it also renders new windows on the same display as your cursor, it should function as the "Montor with the mouse pointer" option.Most other Wayland window managers do support additional protocols via wlr-layer-shell, which Ulauncher also supports as of version 6.x.x (currently in beta). So if you are on Wayland for another desktop environment than Gnome, we recommend that you opt in to use version 6.
Ulauncher version 5.x.x and older uses XWayland by default when you launch Ulauncher with the Desktop files (including using XDG Autostart) or the systemd service. XWayland solves some of the Wayland issues, but potentially introduces new issues that are worse than using pure Wayland. For this specific issue it may be more of the latter. It is possible to position the Window in XWayland, but it's not possible to reliably know which screen that your cursor is on. XWayland will report the last known position. This means the last position where you had your mouse pointer over any XWayland window. So it's very likely that this position is wrong.
You can get around this by opting into using the Ulauncher version 6 beta, launching Ulauncher via a custom command or overriding the desktop entry or systemd service and removing
GDK_BACKEND=x11
.For a table detailing general Wayland compatibility, see #1353
Beta Was this translation helpful? Give feedback.
All reactions