Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode Error: The terminal process failed to launch: Path to shell executable "/usr/bin/tmux" does not exist

After VScode installation, when I tried to open my integrated terminal window, each time I am getting error mentioned in the title.

I don't know what is the correct path to shell-executable. Before VSCode installation, the only change I done in terminal is I installed zsh in it.

System Details -

  • OS: Ubuntu 20.04 LTS
  • VSCode version: 1.53.2
like image 775
Mahesh Ghamaand Avatar asked Feb 20 '21 05:02

Mahesh Ghamaand


Video Answer


2 Answers

I solved this issue by changing by default shell for vs-code with following steps:

  1. Open settings-search in VSCode with Cntr + Shift + p
  2. Search for default
  3. clicked Terminal: Select Default Shell
  4. clicked zsh /usr/bin/zsh, I selected zsh as I recently installed it and like to use it, you can use other terminal options as well.

Thank you.

like image 136
Mahesh Ghamaand Avatar answered Oct 13 '22 13:10

Mahesh Ghamaand


I had the same issue. I resolved it by changing the path of "terminal.integrated.shell.linux" in the settings.json file. Link : https://code.visualstudio.com/docs/supporting/troubleshoot-terminal-launch

like image 37
Victor Avatar answered Oct 13 '22 13:10

Victor