Link to other apps from a flatpak app #43
-
Hi All, I am not really sure where to ask this, so here goes hoping its the right place. So I am testing Elementary OS 6 and have the latest daily build updated. I have installed flathub as a system and not user and have gone ahead and installed filezilla. Everything works brilliantly, however, now I wanted to edit a remote file, and filezilla does not have an app associated with the file I want to edit (error_log). This is never normally a problem I just browse for io.elementary.code or any app that will server this purpose. However what I can browse is extremely restricted. If I go look in /lib where io.elementary.code normally resides, from within filezilla, it does not show up at all. However if I navigate to it using files, then I can see it. If I navigate to /var it only shows me filezilla itself. So it liek any flatpak app cannot navigate outside of its containerised eco system. I have the same issue with kdenlive, gimp, etc essentially any app installed s a flatpak and need to make use of an additional app to edit or open files. So how do I go about instructing filezilla that I have Code or Sublime text or any other app for that matter? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Here is a link to the issue already reported upstream: flathub/org.filezillaproject.Filezilla#40 |
Beta Was this translation helpful? Give feedback.
-
Hey thanks for your question! This is intentional behavior. Flatpak apps are sandboxed so they can't see other apps on the host system. This prevents them from doing malicious things like executing other programs in the background or reading their files, or creating a profile of you based on the apps you have installed. This is all part of the push for a more secure and private system. What apps can do however is use portals to interact with the host system in a secure and privacy respecting way. When apps want to open a file in another app they can use the "open uri" portal to either open the default app or show a dialog where you can choose which app to launch. Many apps are already updated to use portals, but some apps will need to be updated before they will work as expected. As part of our policy in AppCenter, we require that apps published there be packaged and submitted by their actual developer. This ensures that the developer has tested the app to make sure you don't encounter issues like this. Other app stores, like FlatHub, don't necessarily have the same policy so your experience may vary. Whenever you sideload apps from an external source, you should expect that you may encounter these kinds of issues |
Beta Was this translation helpful? Give feedback.
Here is a link to the issue already reported upstream: flathub/org.filezillaproject.Filezilla#40