Skip to content

Flatpak xdg-desktop-portal requires background application or OCPN crashes #48

@dominig

Description

@dominig

The current version of OPCN (5.10.2.-2+c6b6fb6) when installed via Flatpak on a recent distro (OpenSUSE 15.6) where xdg-desktop is active will trigger a warning from the Portal as OPCN App does not have the right manifest to run in background.
Under KDE (may be also Gnome) the user is offered to Ignore or Quit (no option to accept).

  • Ignore will let the warning visible but OPCN will keep running. The warning remains at each OPCN start.
  • Quit will kill OPCN and will keep killing it after every further launches.
    Issue to not easy to troubleshoot as there is no info in system journal/log nor in OCPN log.

Quick new OCPN fix.
run the command
$ flatpak permission-set background background org.openCPN yes
Can check that the change as been accepted with the command bellow.
$ flatpak permissions

Quick fix could be to add the command in the manual
Better change the manifest to request background right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions