Launch WSL terminals directly in Windows Terminal #6819

Closed
opened 2026-01-31 00:48:01 +00:00 by claunia · 3 comments
Owner

Originally created by @WSLUser on GitHub (Mar 10, 2020).

Description of the new feature/enhancement

After installing a distro, install a terminal such as Konsole, xterm, xfce4-terminal, etc. and configuring/installing an X server such as VcxSrv, when launching the terminal it does not appear in Windows terminal. By launching a new tab in WT if launched from WT, we can provide a unified experience. Git bash can be used in WT so getting Linux terminals used in WT is the next step.

Proposed technical implementation details (optional)

I want to launch a Linux terminal from WSL and have it open in WT as a new tab. Furthermore, it should appear as a drop-down in the menu similar to Pengwin creating entries in the Windows start menu for Linux applications.

Originally created by @WSLUser on GitHub (Mar 10, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> After installing a distro, install a terminal such as Konsole, xterm, xfce4-terminal, etc. and configuring/installing an X server such as VcxSrv, when launching the terminal it does not appear in Windows terminal. By launching a new tab in WT if launched from WT, we can provide a unified experience. Git bash can be used in WT so getting Linux terminals used in WT is the next step. # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> I want to launch a Linux terminal from WSL and have it open in WT as a new tab. Furthermore, it should appear as a drop-down in the menu similar to Pengwin creating entries in the Windows start menu for Linux applications.
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixResolution-Won't-Fix labels 2026-01-31 00:48:01 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 10, 2020):

I think there's a terrible misunderstanding going on here -- we're not going to make it so that if you launch another entire terminal (Konsole, xterm, xfce4-terminal, etc.) that Windows Terminal takes over your wishes. Can you imagine? That'd be like VSCode taking over Notepad invocations.

Any application that can launch konsole can launch wt.exe. This will, or should, work today.

If you want it to appear in a new tab in the same window, you want to follow #4472.

@DHowett-MSFT commented on GitHub (Mar 10, 2020): I think there's a terrible misunderstanding going on here -- we're _not_ going to make it so that if you launch _another entire terminal_ (Konsole, xterm, xfce4-terminal, etc.) that Windows Terminal takes over your wishes. Can you imagine? That'd be like VSCode taking over Notepad invocations. Any application that can launch `konsole` can launch `wt.exe`. This will, or should, work today. If you want it to appear in a new tab in the same window, you want to follow #4472.
Author
Owner

@WSLUser commented on GitHub (Mar 10, 2020):

Basically when I'm in my distro and launch a terminal app, I want it to appear in a new tab. I'm not sure that issue will be able to address it (at least not in the context of the OP) but the general idea matches.

@WSLUser commented on GitHub (Mar 10, 2020): Basically when I'm in my distro and launch a terminal app, I want it to appear in a new tab. I'm not sure that issue will be able to address it (at least not in the context of the OP) but the general idea matches.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 10, 2020):

It absolutely will, because on the WSL side you can set your terminal application to be "wt.exe whatever launch in a new tab". It's up to you and the configuration of your WSL distribution as to how exactly it launches a terminal, but when you explicitly say "konsole" or "gnome-terminal" you are explicitly saying that you want to use Konsole or gnome-terminal, not WT.

@DHowett-MSFT commented on GitHub (Mar 10, 2020): It absolutely will, because on the WSL side you can set your _terminal application_ to be "wt.exe whatever launch in a new tab". It's up to you and the configuration of your WSL distribution as to _how exactly_ it launches a terminal, but when you **explicitly** say "konsole" or "gnome-terminal" you are **explicitly** saying that you want to use Konsole or gnome-terminal, not WT.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6819