How to set permissions for flatpak vscodium?
from jumponboard@lemmy.world to linux@lemmy.ml on 31 Aug 08:22
https://lemmy.world/post/35242946

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

#linux

threaded - newest

FrostyPolicy@suppo.fi on 31 Aug 09:33 next collapse

Try Flatseal.

jumponboard@lemmy.world on 31 Aug 10:02 collapse

Didn’t work.

Probably it’s not a permission problem.

eugenia@lemmy.ml on 31 Aug 12:46 collapse

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 on 31 Aug 10:51 next collapse

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 on 31 Aug 14:14 next collapse

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 (github.com/flathub/…/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 on 31 Aug 15:09 collapse

Actual errors would be helpful.