https://bugs.kde.org/show_bug.cgi?id=401956

            Bug ID: 401956
           Summary: Flatpak can't interoperate with hosts packages data
           Product: Discover
           Version: unspecified
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: aleix...@kde.org
          Reporter: mybigs...@mail.ru
  Target Milestone: ---

As usual Flatpak container, Discover being packaged with Flatpak has separate
from host data directory. This mean it can't interoperate with hosts installed
packages, etc.
The problem is XDG_DATA_HOME environment variable.
By default, is has value <$HOME>/.var/app/org.kde.discover/data.
To make it work, I have to manually change it's value in the container before
Discover run:

$ flatpak run --command=sh org.kde.discover
$ export XDG_DATA_HOME=~/.local/share/
$ plasma-discover

I didn't find any solution beside hardcode the variable value at build time.
Any suggestions are welcome, but I think we should fix it any way.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to