Launching gnome-terminal from vscode

Since updating to latest ubuntu and vscode, I can't launch gnome-terminal from vscode.

If I try launch gnome-terminal in vscode's terminal or via an extension then I get:

Error creating terminal: Failed to get screen from object path /org/gnome/Terminal/screen/some-uuid-here

Ubuntu 19.04
GNOME Shell 3.32.1
GNOME Terminal 3.32.1
VSCode 1.34.0

1 Answer

I just faced the same issue and now found a workarround. You can launch the terminal by unsetting the GNOME_TERMINAL_SCREEN environment variable.

To launch gnome-terminal from vscode:

> GNOME_TERMINAL_SCREEN="" gnome-terminal

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like