Flatpak settings for apps to open other apps

Hi, currently I am a shotwell user (using the ubuntu packages). I want to move to flatpak, but I cannot get the permissions correct to allow it to open GIMP or RawTherapee (or any other flatpak app)

Currently the settings menu in Shotwell is blank for the flatpak version (the ubuntu packaged version is ok)

I have the same problem also in digikam (cannot access other apps)

What are the specific settings that I should enter in for Shotwell in Flatseal?

I have tried pretty much everything and the flatpak documentation has not helped.


What does it say if you expand “Photos” and “Raw”?

Attached:

  • first app is flatpak shotwell - I just see a ’ - ’
  • second app is ubuntu packaged shotwell with apps showing

To launch stuff from the flatpak you generally need to use the flatpak spawn --host command.

https://man7.org/linux/man-pages/man1/flatpak-spawn.1.html

Thanks for the link

How do I invoke this command ? Do i need to navigate to a specific directory first?

Currently I get an error

rbrown@rbrown-MacPro:~$ sudo flatpak spawn --host
error: 'spawn' is not a flatpak command. Did you mean 'pin'?

See 'flatpak --help'

When I look at the provided documentation, I see this:

       --host
           Run the command unsandboxed on the host. This requires access
           to the org.freedesktop.Flatpak D-Bus interface.

So, from this I assume:

  1. I need to enable access to d-bus first (any leads there?).
  2. Then try the flatpak spawn --host

Sorry. I am so lost trying to cobble this together!

Rant: to me this should just be bread and butter OS stuff, or at least be toggles in Flatseal. Once I understand the commands to get this working I will go lobby for the latter at least.

Why sudo? And the MacPro is also confusing… Are you on Linux?

1 Like
  1. sudo… I tried without, same error. Tried with sudo, same error
rbrown@rbrown-MacPro:~$ flatpak spawn --host
error: 'spawn' is not a flatpak command. Did you mean 'pin'?
  1. MacPro…
    That’s my unimaginative computer name. My computer is Apple HW (2009 Mac Pro Intel). I am running Linux Mint

Sorry the man page says flatpak-spawn with a dash

good catch

though, hmm still doesn’t work :frowning:

rbrown@rbrown-MacPro:~$ flatpak-spawn --host
flatpak-spawn: command not found