Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable wayland support? #69

Closed
LeanderK opened this issue Jan 30, 2024 · 2 comments
Closed

How to enable wayland support? #69

LeanderK opened this issue Jan 30, 2024 · 2 comments

Comments

@LeanderK
Copy link

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: zulip/zulip-desktop#1332 (--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations)

@andersk
Copy link
Collaborator

andersk commented Mar 23, 2024

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.

@andersk andersk closed this as completed Mar 23, 2024
@LeanderK
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants