Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The "path": "/usr/bin/flatpak-spawn" settings trick not working

オープン
#407 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
shell
領域
devtools

調査の方向性

まず、レポートに示されている 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時間
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flathub/com.visualstudio.code のほかの issue

flathub/com.visualstudio.code の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。