microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.38k stars 28.94k forks source link

VScode Ubuntu: How to set the terminal to Konsole? #66362

Closed elieobeid7 closed 5 years ago

elieobeid7 commented 5 years ago

I'm using VScode and Ubuntu 16.04, I need to set Konsole terminal emulator as the default terminal because it's the only one capable of outputting proper RTL support on Linux.

I have left the shell as ZSH, I have put Terminal › External: Linux Exec: Konsole and I changed the terminal settings from integrated to external.

That did not work, VScode terminal either crushes or revert back to the default one, which I think is Xterm. Is there a solution? Stackoverflow couldn't solve it so far

https://stackoverflow.com/questions/54128825/vscode-ubuntu-how-to-set-the-terminal-to-konsole

Tyriar commented 5 years ago

Works for me, it's probably a problem with your setup. Also if you're using a capital K as you indicate it won't work, maybe that's it?

image

elieobeid7 commented 5 years ago

How did you launch it? And how did you edit the settings in json, the newest version won't allow me to do that. Please note I'm using unity, I forgot to mention that, Here's a screenshot

2

Above you see I specified konsole with a lower case k, and I specified external.

I restarted VScode and I did `ctrl + `` and you can see it didn't change.

1- ps -o 'cmd=' -p $(ps -o 'ppid=' -p $$) outputs the emulator you are using 2- The arabic output is still messed up, in konsole, that won't happen, they support Arabic

Tyriar commented 5 years ago

ctrl+` is the integrated terminal, ctrl+shift+c launches the external one. In case it wasn't clear, you cannot run konsole inside of vscode, the terminal in vscode is it's own terminal emulator. RTL support in vscode's terminal is captured here https://github.com/xtermjs/xterm.js/issues/701