trilium icon indicating copy to clipboard operation
trilium copied to clipboard

Native Wayland support

Open plabadens opened this issue 4 years ago • 2 comments

As far as I can understand, v0.47.2 is based on Electron 13, and therefore should support Wayland natively on linux.

However if I try to run the desktop client with with --enable-features=UseOzonePlatform --ozone-platform=waylandthe client doesn't show up. To me it seems like these command line flags do have an effect, but something is still missing somewhere apparently.

I've attached a log file, in this case running with WAYLAND_DEBUG=1

trilium.log

plabadens avatar May 14 '21 02:05 plabadens

I passed the flags by adding $@ at the end of the init script. However, now I get the error interface 'wl_output' has no event 4, which is problem I've experienced with applications running on certain broken Chromium versions.

benstockil avatar Mar 14 '22 19:03 benstockil

same here, also with interface 'wl_output' has no event 4. this is quite sad as adding the arguments from above before worked and now suddenly stopped working (I thought that I did not upgrade trilium meanwhile, but I'm not sure, but I definitely updated other packages)

Zocker1999NET avatar May 06 '22 11:05 Zocker1999NET

As of version v0.57.5, it works in wayland. I have to allow wayland window system in flatseal though

edit: I take that back. it only works once when I run the flatpak in the terminal, not afterwards

zoenglinghou avatar Jan 03 '23 08:01 zoenglinghou

Executing the app using the trilium executable in the tar works for me using wayland. Closing and restarting works as well. Perhaps this has been solved with recent updates?

Areiser avatar Jun 05 '23 07:06 Areiser