Unable to open external links on Linux (Flatpak & AppImage)

Had this issue on Flatpak and also tested with the appimage package; both don’t seem to be able to find my browser to open any external links. I’m on Solus Linux using Firefox as the default browser.

Things I tried:

  • Opened Obsidian through the flatpak run command and this error was appearing when trying to open external links Failed to call portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No interface ?org.freedesktop.portal.OpenURI? in object of path /org/freedesktop/portal/desktop.
  • Used Flexseal to enable system/session bus permissions and added org.freedesktop.portal.OpenURI to the session bus. (I haven’t searched for what is the session bus or what it does, but this seemed like the logical path to follow).
  • Followed the steps on this post of the same issue to verify if Firefox is still the default browser and that it can open links, which it is and can.