Connecting Distrobox apps with Flatpak apps

Hi, trying to live the container and sandbox lifestyle in Aurora 40! I have Okular installed as a Flatpak. But Krusader oddly isn’t in Flathub, so I installed it as an app inside a Fedora distrobox container. Both work fine on their own (though Krusader is missing a nice icon).

But clicking on a PDF inside Krusader tries to use Libreoffice Draw to read it. No – of course I want to use Okular. But Okular doesn’t appear to be visible to Krusader.

I assume this is some kind of more general permissions issue but I can’t figure out how to fix it. Looked through Flatseal for Okular but nothing pops out to me.

Any ideas?

I’m not even sure if that’s possible since you work in a container. But until you get a definitive answer from someone who knwos better, what i would probably try is either:

  1. Search if there is another way to install Krusader in my system (e.x. AppImage).
  2. Since you want these 2 to work together, install Okular in fedora container, export it and remove the flatpak.

Installing Okular inside the Fedora container, then exporting, has fixed the problem. But:

  1. Shouldn’t Okular be installed by default in KDE uBlue distros like Aurora? It’s pretty much the standard for PDF reading on KDE I thought? Krusader is more of an edge case since I think it is less common to use a separate file manager.
  2. The general advice for uBlue is to use Flatpak to install GUI apps. But this advice falls down in situations like this one – can’t connect between Flatpak and non-Flatpak apps.
1 Like