Linux packaging: ship as flatpak on flathub

I’ll start an informal bug tracker here just to keep notes on fixed and current flatpak-specific bugs. The bugs are listed in chronological order. If you see frequent updates to this flatpak, this is why. Flatpak uses delta updates so only a tiny bit of data is downloaded on these bugfix updates.

Current:

Fixed:

  • Audio recorder plugin reports “No microphone is connected” commit

    • PulseAudio access is now allowed by default
  • Cannot access files on removable drives commit

    • The sandbox is now configured to allow access to /mnt, /media and /run/media by default.
  • Trash doesn’t work commit

    • Workaround has been added to automatically set trash behavior to use the local .trash folder instead of system trash. Obsidian doesn’t have a global trash preference so we check each vault on startup and set the trash behavior to local. If you have created a new vault, please either go to Settings -> File -> Deleted files and set this to “Move to Obsidian trash”, or simply restart Obsidian.
  • “Open in default app” and “Show in folder” options in the context menu doesn’t work commit

    • Electron relies on xdg-open for these operations, the xdg-utils in the current freedesktop runtime is way too old and doesn’t contain necessary bugfixes required to make this work. The latest version of flatpak-xdg-utils is now bundled as a workaround.
2 Likes