The "path": "/usr/bin/flatpak-spawn" settings trick not working
还没有人认领这个 Issue。
评估
调研方向
首先,使用报告中显示的 settings.json 路径和可正常工作的 flatpak-spawn --host 命令,在 Clear Linux 上复现集成终端的行为。跟踪已配置的终端路径是如何解析的,然后确定并记录原因或所需的配置;完成的标准是已配置的路径能够正常工作,或已清楚解释该限制。
由索引模型根据 Issue 内容生成。
描述
Attempting to use the host shell in the integrated terminal, and the "path": "/usr/bin/flatpak-spawn" trick in settings.json is not working for me. Interestingly, however, launching commands in the integrated terminal using the flatpak-spawn --host prefix works just fine(!). (Also, I checked, and my distro does not have a /usr/bin/flatpak-spawn file, nor does there seem to be a flatpak-spawn file anywhere on my HDD.)
Here's what the terminal says:
sh-5.1$ flatpak-spawn --host swupd search java
[270 preload-host-spawn-strategy] Warning: waitpid override ignores groups
Bundle with the best search result:
java-basic - Build and run Java language programs. (506MB)
This bundle can be installed with:
swupd bundle-add java-basic
Alternative bundle options are
java11-basic - Build and run Java 11 language programs. (310MB)
java13-basic - Build and run Java 13 language programs. (330MB)
nodejs-basic - Run JavaScript server side for fast, scalable network applications. (300MB)
[270 preload-host-spawn-strategy] Warning: waitpid override ignores groups
sh-5.1$ swupd search java
[270 preload-host-spawn-strategy] Warning: waitpid override ignores groups
sh: swupd: command not found
[270 preload-host-spawn-strategy] Warning: waitpid override ignores groups
sh-5.1$
What am I doing wrong?
(My distro is Clear Linux.)
- 主要语言
- 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
-
package-update
难度 2/5 1-3 小时 新手友好度 78/100
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
vllm-project/vllm-metal#841 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
obra/superpowers#2394 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
CachyOS/cachyos-aur-derived#772 ·
维护者通常 1 天内回复