Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Flatpak-warning running an unofficial Flatpak version of Visual Studio Code

未关闭
#509 3 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
linux, shell
领域
desktop, devtools

调研方向

报告没有提到任何仓库文件、测试或具体变更。先复现所描述的 Flatpak 安装警告,然后明确预期行为并确定项目中相关的入口点;要完成这项工作,需要一项已达成一致的变更和一次回归检查。

由索引模型根据 Issue 内容生成。

描述

am getting this txt file warning on opening the flatpak from ubuntu app store after installing it through flatpak cli


https://www.flathub.org


| Warning: You are running an unofficial Flatpak version of Visual Studio Code !!! |

Please open issues under: https://github.com/flathub/com.visualstudio.code/issues

This version is running inside a container and is therefore not able
to access SDKs on your host system!

To execute commands on the host system, run inside the sandbox:

$ host-spawn

To make the Integrated Terminal automatically use the host system's shell,
you can add this to the settings:

{
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "host-spawn",
"args": ["bash"]
}
}
}

This Flatpak provides a standard development environment (gcc, python, etc).
To see what's available:

$ flatpak run --command=sh com.visualstudio.code
$ ls /usr/bin (shared runtime)
$ ls /app/bin (bundled with this flatpak)

To get support for additional languages or tools within the Flatpak, you have to install SDK extensions, e.g.

$ flatpak install flathub org.freedesktop.Sdk.Extension.dotnet
$ flatpak install flathub org.freedesktop.Sdk.Extension.golang
$ FLATPAK_ENABLE_SDK_EXT=dotnet,golang flatpak run com.visualstudio.code

Similarly for shells and other tools:

$ flatpak install com.visualstudio.code.tool.fish
$ flatpak install com.visualstudio.code.tool.podman

You can use

$ flatpak search

to find others.

主要语言
Shell
星标
218
派生
79
平均合并
4 天 12 小时
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flathub/com.visualstudio.code 的其他 Issue

查看 flathub/com.visualstudio.code 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。