Comments (14)
Edit the settings of shell, i.e:
"terminal.integrated.shell.linux": "flatpak-spawn",
"terminal.integrated.shellArgs.linux": ["--host", "bash"],
from com.visualstudio.code.
Try this.
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/env",
"args": ["--", "flatpak-spawn", "--host", "--env=TERM=xterm-256color", "zsh"]
}
The same works for bash
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/usr/bin/env",
"args": ["--", "flatpak-spawn", "--host", "--env=TERM=xterm-256color", "bash"]
}
from com.visualstudio.code.
Edit the settings of shell, i.e:
"terminal.integrated.shell.linux": "flatpak-spawn", "terminal.integrated.shellArgs.linux": ["--host", "bash"],
Thanks, @ricvelozo.
But there are some messages of bash...
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Do you know how can it be fixed?
from com.visualstudio.code.
add export TERM=xterm to .bashrc or .zshrc
$TERM is already set but I still get the warning:
[niko@fedora server]$ echo $TERM
xterm-256color
from com.visualstudio.code.
@rayfoss - I think that's problem with "flatpak-spawn" and not the linux profile. I wouldn't say it is major issue, just annoying message. It shouldn't affect the bash. Do you see prompt after the message?
from com.visualstudio.code.
This works on debian 9; You have to restart your terminal for it to work. Press th kill terminal and open a new one.
from com.visualstudio.code.
Thank you for your response but restarting the terminal or vscode does not fix this problem.
from com.visualstudio.code.
Replace the path with /usr/bin/bash
or use the value which is showed with command, which bash
.
from com.visualstudio.code.
this doesn't work due to the pseudo root file structure for the flatpak apps, I see home is bind mounted. need similar solution for using system commands
from com.visualstudio.code.
A similar, but seemingly more informed discussion: flathub/com.visualstudio.code.oss#5
from com.visualstudio.code.
@seongs1024 You can ignore the messages or use faltpak-spawn
for just the external tools, instead of full terminal.
from com.visualstudio.code.
Edit the settings of shell, i.e:
"terminal.integrated.shell.linux": "flatpak-spawn", "terminal.integrated.shellArgs.linux": ["--host", "bash"],Thanks, @ricvelozo.
But there are some messages of bash...bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell
Do you know how can it be fixed?
add export TERM=xterm
to .bashrc or .zshrc
from com.visualstudio.code.
bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell
This was caused by me using an abandoned version of code-oss
sudo flatpak remove com.visualstudio.code.oss
sudo flatpak install flathub com.visualstudio.code-oss
from com.visualstudio.code.
Try this.
"terminal.integrated.defaultProfile.linux": "zsh", "terminal.integrated.profiles.linux": { "zsh": { "path": "/usr/bin/env", "args": ["--", "flatpak-spawn", "--host", "--env=TERM=xterm-256color", "zsh"] }
The same works for bash
"terminal.integrated.defaultProfile.linux": "bash", "terminal.integrated.profiles.linux": { "bash": { "path": "/usr/bin/env", "args": ["--", "flatpak-spawn", "--host", "--env=TERM=xterm-256color", "bash"] }
Does not work on Debian Buster...
from com.visualstudio.code.
Related Issues (20)
- [Fix Requested] Add missing KDE session dbus permissions
- Ctrl+C signal kills the terminal HOT 2
- I have to login with Github on every launch for sync to work. HOT 30
- Incorrect `.desktop` name HOT 1
- [dotnet, golang] Connot access to extension SDK despite it being installed and FLATPAK_ENABLE_SDK_EXT being used HOT 7
- Confusion Regarding Installation Instructions for Linux Newbies HOT 2
- libsframe needs to be copied when updating to runtime 23.08 HOT 1
- "editor.rulers" not working HOT 1
- | Warning: You are running an unofficial Flatpak version of Visual Studio Code !!! | HOT 1
- Update to latest release
- Invalid instructions in README HOT 1
- Feature: add optional Wayland support HOT 6
- Path to PHP HOT 1
- 1password support
- Newest version breaks SDK extensions and podman tooling HOT 1
- Cannot find "/usr/bin/arm-none-eabi-gcc" HOT 1
- libsecret is now apart of org.electronjs.Electron2.BaseApp, please remove from manifest
- 611 preload-host-spawn-strategy] Warning: waitpid override ignores groups
- devcontainer will not start: 'buildx' is not a docker command
- Flatpak-warning running an unofficial Flatpak version of Visual Studio Code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from com.visualstudio.code.