flathub / org.zulip.Zulip

https://flathub.org/apps/details/org.zulip.Zulip
2 stars 6 forks source link

How to enable wayland support? #69

Closed LeanderK closed 6 months ago

LeanderK commented 8 months ago

Zulip is very blurry for me and I want to enable wayland support. I know it's experimental but I seldom have issues with vscode (which I didn't install as a flatpack application).

Is there some way to turn it one and try it out?

I've found this issue but I am not sure how to pass the arguments: https://github.com/zulip/zulip-desktop/issues/1332 (--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations)

andersk commented 6 months ago

Exactly how you’d expect: flatpak run org.zulip.Zulip --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations

For Electron ≥ 26.2.0 (Zulip Desktop ≥ 5.10.4), WaylandWindowDecorations is enabled by default, so you only need --ozone-platform-hint=auto.

Alternatively, for Electron ≥ 28 (Zulip Desktop ≥ 5.10.4), you can set the ELECTRON_OZONE_PLATFORM_HINT environment variable to auto or wayland.

LeanderK commented 5 months ago

I am on zulip 5.11 and needed to add XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons and ELECTRON_OZONE_PLATFORM_HINT=auto in Flatseal. The icon in the task bar is still buggy but now the rest works and is crisp.