System Tools Not Detected in Flatpak VSCode
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- docker, fedora, linux, node.js, python, vscode
调研方向
首先,在 Fedora 41 上使用针对 com.visualstudio.code 的 Flatpak override 命令复现报告的行为,检查对 Node.js、Python、Docker、PATH 和 PYTHONPATH 的访问。该 issue 未指明项目文件或测试;要视为完成,需要一种明确且可维护的方式,使常用的开发工具和扩展无需手动覆盖权限即可正常工作。
由索引模型根据 Issue 内容生成。
描述
Flatpak VSCode Feels Too Restricted — Can We Improve System Integration?
Hey everyone,
I've been using the Flatpak version of Visual Studio Code on Fedora 41, and while I appreciate the security and ease of installation, it feels a bit frustrating for actual development work.
What I'm Facing
- VSCode can't detect system-installed tools like Node.js, Python, or Docker.
- Extensions that rely on system binaries don't work without manual permission overrides.
- Environment variables (PATH, PYTHONPATH) aren't automatically passed into the Flatpak sandbox.
- There's a noticeable performance hit compared to the RPM version.
I tried overriding permissions with commands like:
flatpak override com.visualstudio.code --filesystem=host
flatpak override --env=PATH=$PATH com.visualstudio.code
But even after that, some extensions still couldn't access system SDKs out of the box.
Solution: I ended up reinstalling VSCode through the RPM package directly from Microsoft's repo, and everything works flawlessly
sudo nano /etc/yum.repos.d/vscode.repo
Paste:
[vscode]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
sudo dnf check-update
sudo dnf install code
Why This Matters
As a developer, the IDE should be an extension of the system, not feel like it's running in its own isolated container.
Is there any plan to improve system integration or provide an easier way to grant access to common dev tools?
Would love to hear what others think!
- 主要语言
- Shell
- 星标
- 216
- 派生
- 82
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 1
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flathub/com.visualstudio.code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
flathub/com.visualstudio.code#679 · 4 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 65/100
flathub/com.visualstudio.code#563 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 65/100
flathub/com.visualstudio.code#388 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
flathub/com.visualstudio.code#715 ·
-
难度 4/5 3-5 天 新手友好度 48/100
flathub/com.visualstudio.code#710 ·
查看 flathub/com.visualstudio.code 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 70/100
kristofdegrave/homeassistant-smart-charging#1413 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
a2aproject/A2A#2262 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
modelstudioai/cli#232 ·
-
[Bug]: launchd osascript "do shell script" wrapper delays external display wake ~10s on macOS 27未关闭comp/gateway P2 type/bug
难度 2/5 1-3 小时 新手友好度 78/100
NousResearch/hermes-agent#123595 ·
维护者通常 1 天内回复
-
area:bash bug has repro
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/claude-code#97353 · 1 个 reaction ·
维护者通常 1 天内回复