How to set permissions for flatpak vscodium?

I frequently encounter issues. Does someone have a working setup or should I simlpy use distrobox for IDEs?

8 points · 6 comments · view on lemmy.world

6 Comments

FrostyPolicy@suppo.fi · 4 pts · 364d (2 replies)

Try Flatseal.

jumponboard@lemmy.world · 2 pts · 364d (1 reply)

Didn't work.

Probably it's not a permission problem.

eugenia@lemmy.ml · 2 pts · 364d

Try the .appimage version, at least vscodium is coming in many different formats. I personally avoid flatpaks due to size and permission issues (e.g. gimp can't use its special extra-featured printing panel, which makes it absolutely useless for me as an artist on a flatpak).

muhyb@programming.dev · 3 pts · 364d

If not a permission issue then it's most likely a PATH issue.

For example, for Cargo try this:

flatpak --user override com.vscodium.codium --env=PATH=/app/bin:/usr/bin:/home/$USER/.cargo/bin
stuner@lemmy.world · 1 pts · 364d

What kind of issues did/do you encounter?

The VS Code/Codium essentially provide a separate development environment within the flatpak container. All the tools there, and the shell are separate from your actual system. There are some ways to work around this (https://github.com/flathub/com.vscodium.codium/blob/master/README.md). I gave up on the Flatpak and installed a native package. Containers are nice, but they have their limitations.

just_another_person@lemmy.world · 1 pts · 364d

Actual errors would be helpful.