I have installed FlatPak to my Ubuntu 16.04 LTS system with the following commands:

sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update
sudo apt install flatpak

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo

and then installed Plasma Discover with

flatpak install kdeapps org.kde.discover

I can run it with

flatpak run org.kde.discover

or from Applications→System→(Nightly) Discover, but it does not show any installed applications

Plasma Discover - Installed

Settings tab is empty too:

Plasma Discover - Settings

What am I doing wrong?
How to make org.kde.discover (Plasma Discover installed as FlatPak) to work with APT, Snap and FlatPak of the system?

Some background: I want to stay on Ubuntu 16.04 LTS and have GUI for FlatPak and Snap. This question was the first step.

Notes: I have tested this method on Ubuntu 18.04 LTS - Plasma Discover has the same behavior on it.

  • From much of what I've read, Plasma Discover, even in Kubuntu Bionic and Cosmic, is a bit dicey. So it is the focus of heavy development. Also, I'm guessing that Plasma Discover, the version using 5.13, is somewhat out of place on Ubuntu Xenial which will have older versions of APT, Snap, etc. I doubt whether Discover is backwards-compatible. Users of Cosmic just got updated to 5.13 a day before feature freeze. I can't help in any way, but would like to know why you're trying this on Xenial instead of in Cosmic? – DK Bose Aug 24 '18 at 2:32
  • 1
    This question is logic continuation of my other question - I want to have GUI for FlatPak and Snap on 16.04 LTS. Thank you for comment, @DKBose , anyway! – N0rbert Aug 24 '18 at 8:59
  • IIRC, flatpaks are sandboxed. Installing discover as flatpak doesn't really make sense to me unless there is a way to un-sandbox it. As a side note: if it were possible, what would happen if you uninstall flatpak from discover running as a flatpak? – danzel Jan 4 '19 at 15:08

As far as I know, what you want to achieve is not possible because flatpak applications are sandboxed.

I don't know any KDE developer, but judging by this commit and this blog post, they probably use the discover flatpak to test the UI. Discover is one prominent showcase of KDE's Kirigami UI. Using a flatpak for this purpose sounds reasonable to me.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.