<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Andrey,</p>
    <p>   The "open with" works, but has very few entries. Remember it
      sits in a restricted environment.  So even trying /usr/bin/gimp
      does not work, even though it's there.</p>
    <p>And I even have the whole filesystem open now.   Perhaps this is
      another setting in flatseal that I haven't discovered, and that'
      why we are talking here , to get those final issues I have out of
      the way. After that I'm happy to submit a ppull request, but I
      think the one I have now is getting pretty close.  thanks for all
      the feedback, I've learned a great deal.<br>
    </p>
    <p>peter<br>
    </p>
    <div class="moz-cite-prefix">On 6/1/20 1:12 PM, Andrey Goreev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOt0OUpezbOEyaDitfc09i9OBBB4wwRPx6sQ-uDSmGKib9mEJA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">Hello Peter,</div>
        <div>Thank you for posting the readme here.</div>
        <div>You mentioned that digiKam flatpak is not able to open
          GIMP. Does that mean that "Open With" menu won't work at all?</div>
        <div>If that is the case it will a deal breaker for most of us
          then. I am sure most users use digikam in conjunction with
          exiftool, ffmpeg, mediainfo, GIMP, Kdenlive, Krita, darktable,
          RawTherapee and others. Even the ability to locate selected
          file in dolphin or other file manager seems crucial (to me).<br>
        </div>
        <div><br clear="all">
        </div>
        <div dir="ltr">
          <div>
            <div>
              <div dir="ltr" class="gmail_signature"
                data-smartmail="gmail_signature">
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>Thanks,</div>
                      <div>Andrey<br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Mon, Jun 1, 2020 at 10:31
            AM Peter Teuben <<a href="mailto:teuben@gmail.com"
              moz-do-not-send="true">teuben@gmail.com</a>> wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex"><br>
            I wanted to start a new thread, with the intend to spiffing
            up the <br>
            README file that Gilles started on <br>
            <a
href="https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/flatpak"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/flatpak</a><br>
            <br>
            Here is my writeup, still a little KDE (kubuntu w/ plasma)
            centric, but <br>
            with the intent to be command line driven as much as
            possible. I invite <br>
            anybody to comment and me or somebody will edit the
            README.md file<br>
            <br>
            <br>
            <br>
            <br>
            You need admin permission to install the flatpak
            infrastructure<br>
            <br>
                   sudo apt install flatpak<br>
                   flatpak remote-add --if-not-exists flathub <br>
            <a href="https://flathub.org/repo/flathub.flatpakrepo"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://flathub.org/repo/flathub.flatpakrepo</a><br>
            <br>
            and on Kubuntu there is a optional GUI based discovery tool<br>
            <br>
                   sudo apt install plasma-discover-flatpak-backend<br>
            <br>
            after rebooting (it claims), you can then do your user
            installs<br>
            <br>
                   flatpak install flathub org.kde.digikam<br>
            <br>
            This will install your apps in ~/.var/app.   Also perhaps
            import that <br>
            note that any config<br>
            files live there (e.g.
            ~/.var/app/org.kde.digikam/config/digikamrc and <br>
            your settings in<br>
            ~/.config/digikamrc are out of visibility)<br>
            <br>
            running the app goes as follows<br>
            <br>
                   flatpak run org.kde.digikam<br>
            <br>
            Since flatpak's run in a restricted environment, you will
            find that not <br>
            all directories<br>
            can be see by the digikam collections (/home and /media are
            exceptions), <br>
            and you will not<br>
            be able to launch gimp for example. To edit these settings
            there is <br>
            flatseal to the rescue:<br>
            <br>
                   flatpak install flathub flatseal<br>
            <br>
            which I then read you can either use a command line (but as
            root, this I <br>
            still find confusing)<br>
            <br>
                   sudo flatpak override org.kde.digikam
            --filesystem=/Photos<br>
            <br>
            or use the GUI<br>
            <br>
                   "launch flatseal, select digiKam", add to "Other
            files" or select <br>
            "All system files"<br>
                   Those will be stored in <br>
            ~/.local/share/flatpak/overrides/org.kde.digikam<br>
            <br>
            now you can run flatpack and see your oddly named /Photos
            directory<br>
            <br>
                   flatpak run org.kde.digikam<br>
            <br>
            More information on flatpak, and flatseal permission
            settings on<br>
            <br>
            <a
href="https://www.linux.com/training-tutorials/how-install-and-use-flatpak-linux/"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.linux.com/training-tutorials/how-install-and-use-flatpak-linux/</a><br>
            <a
              href="https://docs.flatpak.org/en/latest/sandbox-permissions.html"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://docs.flatpak.org/en/latest/sandbox-permissions.html</a><br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </body>
</html>