The "path": "/usr/bin/flatpak-spawn" settings trick not working
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the integrated-terminal behavior on Clear Linux using the settings.json path and the working flatpak-spawn --host command shown in the report. Trace how the configured terminal path is resolved, then identify and document the cause or required configuration; done means the configured path works or the limitation is clearly explained.
Written by the indexing model from the issue text.
Description
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.)
- Dominant language
- Shell
- Stars
- 216
- Forks
- 82
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 1
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flathub/com.visualstudio.code
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
flathub/com.visualstudio.code#679 · 4 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
flathub/com.visualstudio.code#563 · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
flathub/com.visualstudio.code#388 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
flathub/com.visualstudio.code#715 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
flathub/com.visualstudio.code#710 ·
All issues in flathub/com.visualstudio.code
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
alunduil/alunduil-infrastructure#629 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
duckdb/duckdb-skills#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
YosysHQ/oss-cad-suite-build#216 ·