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

Distribute Affine for Linux as something not AppImage​ #5985

Open
1 task done
justin13888 opened this issue Mar 2, 2024 · 5 comments
Open
1 task done

Distribute Affine for Linux as something not AppImage​ #5985

justin13888 opened this issue Mar 2, 2024 · 5 comments
Assignees
Labels
story Features perceivable by end-users

Comments

@justin13888
Copy link

Description

While I'm glad that Affine supports a desktop application for Linux, there is still some room for improvement to make it a more comfortable experience for desktop Linux users.

Currently, Affine for Linux is distributed as an AppImage.

A few obvious drawbacks without exhaustively elaborating too much include:

  • Integration with desktop environment either requires manual configuration or tool like AppImageLauncher. Icon also wouldn't be configured automatically
  • No integration with display server (i.e. Wayland, X.org) configurations. For Wayland desktops, you have to manually pass Ozone flags for Electron (used by Affine) to force it to render with Wayland.
  • Lack of dependency management: This means large binary sizes, slow dependency updates (e.g. Electron version)

While there are many Linux package formats, I understand Linux desktop users is not a particularly large userbase and regardless, the chosen distribution method(s) should require the least amount of active maintenance effort.

I would suggest distributing as a Flatpak and if possible, additionally through FlatHub. As far as I know, this is one of the most streamlined option to bring Affine to as many desktop Linux users as possible. FlatHub is also becoming a centralized marketplace for Linux desktop applications (imagine Google Play Store for Linux)! Having improved Linux support will also be another clear win over Notion itself.

Use case

No response

Anything else?

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@justin13888 justin13888 added the story Features perceivable by end-users label Mar 2, 2024
@github-project-automation github-project-automation bot moved this to 🆕 *Untriaged in AFFiNE Project Mar 2, 2024
@pengx17
Copy link
Collaborator

pengx17 commented Mar 4, 2024

Thanks for the suggestion! We are working on providing more distribution formats right now and finding solutions for auto update for linux bundles.

@pengx17 pengx17 self-assigned this Mar 4, 2024
@EYHN EYHN moved this from 🆕 *Untriaged to 🏗 In Progress in AFFiNE Project Mar 4, 2024
@pengx17
Copy link
Collaborator

pengx17 commented Mar 11, 2024

Auto updating for AppImage should now be supported. We are investigating flatpak bundling right now but it may not happen very soon. In the meantime, help wanted!

@pengx17
Copy link
Collaborator

pengx17 commented Mar 28, 2024

Most issues related to AppImage should have been fixed lately (when using AppImageLauncher):

  • icons in the file explorer
  • icons on the Dock
  • Wayland support

@zuhairamahdi
Copy link

is there any update for this issue?

@pengx17
Copy link
Collaborator

pengx17 commented Oct 10, 2024

@zuhairamahdi is there any update for this issue?

Yes, the first version of deb/flatpak distribution is wip #8439

pengx17 added a commit that referenced this issue Oct 10, 2024
some issues
- app icon not showing correctly
- missing wayland support
- runtime is outdated

related to
- #3272
- #5985
- #6642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Features perceivable by end-users
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

3 participants