lapce
lapce copied to clipboard
Error flushing display: Protocol error on Ubuntu 22
Tried to check this but got error:
Gdk-Message: 23:13:21.505: Error flushing display: Protocol error
Ubuntu 22.04 LTS GNOME Version 42.2 Windowing System Wayland
Is that when starting lapce or when using lapce?
This happened when starting lapce, after unzipping and running ./lapce
I have the same issue on Ubuntu 22.04.
A quick workaround is to run lapce with the environment variable: GDK_BACKEND=x11
Such as: GDK_BACKEND=x11 target/release/lapce
It works because Ubuntu 22.04 runs Xwayland, allowing Xorg application to run on wayland