Permissions and Forced Sandboxing

Jan 28, 2024
B

VScode, android studio or any IDE or app that requires system interactions is less useful or completely useless. For example, interacting with files or the terminal, seems to break when I download a flatpak. Especially apps that need to use the terminal (every IDE ever).
So how can I change this ? Connect the app with the system better. For example, changing the permissions to allow system terminal in an IDE (VScode)

How can this be achieved ?

C

The VSCode flatpak already has the necessary permission to punch out of the sandbox (--talk-name=org.freedesktop.Flatpak), but it’s not possible to make that happen automatically. Either the app itself (see GNOME Builder for example) or the user needs to explicitly spawn a host terminal. See: https://github.com/flathub/com.visualstudio.code#readme