OS: Pop!_OS
Flatpak 1.14.6
Hello everyone! I’m Brazilian so english is not my native language, so i apologize for any mistakes.
I Downloaded the flatpak version of Vscode on Pop_shop, but it dosen’t open. I also tried running it via terminal, but it didn’t work either. As i’m a new linux user, i feel quit stuck as to what to do. Can anyone help me?
~$ flatpak run com.visualstudio.code
bwrap: execvp code: No such file or directory
I think a first good step would be to make sure your on a current flatpak version so update to 1.16
mcep
May 9, 2025, 10:23am
3
Here, we are:
matej@mitmanek:~> cat /etc/os-release
NAME="openSUSE MicroOS"
# VERSION="20250505"
ID="opensuse-microos"
ID_LIKE="suse opensuse opensuse-tumbleweed microos sl-micro"
VERSION_ID="20250505"
PRETTY_NAME="openSUSE MicroOS"
SYSEXT_LEVEL="glibc-2.41"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:microos:20250505"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:MicroOS"
LOGO="distributor-logo-MicroOS"
matej@mitmanek:~> # packages are from openSUSE/Tumbleweed
matej@mitmanek:~> rpm -q flatpak
flatpak-1.16.0-1.3.x86_64
matej@mitmanek:~> flatpak run com.visualstudio.code
bwrap: execvp code: No such file or directory
matej@mitmanek:~> flatpak run -vv com.visualstudio.code> /tmp/vscode-log.txt 2>&1
matej@mitmanek:~>
(that log is on https://mcepl.fedorapeople.org/tmp/vscode-log.txt )
cxrvh
May 9, 2025, 4:34pm
4
You override the PATH
environment variable which breaks the app sandbox (e.g. this fails, too: flatpak run --env=PATH=$PATH com.vscodium.codium
).
If you add $PATH
to the PATH override then flatpak does not expand this!
Make sure that you always add the default PATH
, too: /app/bin:/usr/bin
.
mcep
May 9, 2025, 4:59pm
5
cxrvh:
If you add $PATH
to the PATH override then flatpak does not expand this!
Make sure that you always add the default PATH
, too: /app/bin:/usr/bin
.
It seems to help. I will try to understand why I did this and how I could overcome the problem. Thank you.