Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow terminal configuration on Linux (currently hard-coded to gnome-terminal). #1421

Closed
Xorcist77 opened this issue Dec 17, 2015 · 4 comments
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@Xorcist77
Copy link

I don't use gnome, and thus don't use gnome-terminal, but VSCode REALLY wants me to. I scaffolded out a new asp.net web project and can run it just fine from my terminal using 'dnx web', but trying to use 'dnx: web' from the command palette inside VSCode tries to launch gnome-terminal, which obviously fails, with the following error:

Error: spawn /usr/bin/gnome-terminal ENOENT

Note that I located workbench.main.js which appears to be the file that is referenced to open the terminal, however changing "usr/bin/gnome-terminal" to "usr/bin/x-terminal-emulator" didn't help. I didn't get any errors, but no terminal opened either... I would have expected it to use whatever terminal I configured in Linux at that point, instead of the hard coded gnome terminal.

I also tried "usr/bin/lxterminal" but that didn't work either...

@dbaeumer dbaeumer added feature-request Request for new features or functionality c# labels Dec 17, 2015
@dbaeumer dbaeumer added this to the Backlog milestone Dec 17, 2015
@mosamy
Copy link

mosamy commented Jan 5, 2016

I solved this by a simple sudo apt-get install gnome-terminal. It is only 11 mb and the seamless experience is worth it

@Xorcist77
Copy link
Author

@mosamy: That is more of a work around for the poorly designed, hard-coded, implementation currently provided by VSCode.

A configurable option would be much more appropriate. The fact something like this was hard-coded at all makes me wonder what other hidden gems l'm bound to uncover.

@PeterBocan
Copy link

It's that hard adding one key into the config? 👎 Okay.

@jrieken
Copy link
Member

jrieken commented Jan 20, 2016

This issue was moved to dotnet/vscode-csharp#3

@jrieken jrieken closed this as completed Jan 20, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants