flathub / flathub/com.visualstudio.code
The "path": "/usr/bin/flatpak-spawn" settings trick not working
- 主要言語
- Shell
- スター
- 217
- フォーク
- 82
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 1
説明
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.)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、レポートに示されている settings.json のパスと動作する flatpak-spawn --host コマンドを使って、Clear Linux での統合ターミナルの動作を再現します。次に、設定されたターミナルパスがどのように解決されるかを追跡し、その原因または必要な設定を特定して文書化します。完了とは、設定されたパスが機能するか、制限事項が明確に説明されていることを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100