lapce icon indicating copy to clipboard operation
lapce copied to clipboard

Error flushing display: Protocol error on Ubuntu 22

Open Samrose-Ahmed opened this issue 3 years ago • 3 comments

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

Samrose-Ahmed avatar Jul 16 '22 20:07 Samrose-Ahmed

Is that when starting lapce or when using lapce?

panekj avatar Jul 16 '22 20:07 panekj

This happened when starting lapce, after unzipping and running ./lapce

Samrose-Ahmed avatar Jul 16 '22 21:07 Samrose-Ahmed

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

gboutry avatar Aug 17 '22 09:08 gboutry