Bug Report (Don't display ubuntu terminal) #2835

Closed
opened 2026-01-30 23:06:39 +00:00 by claunia · 9 comments
Owner

Originally created by @dilantha111 on GitHub (Jul 18, 2019).

Originally assigned to: @bitcrazed on GitHub.

I installed windows terminal through Microsoft store. But I can only see power shell and cmd. In the introduction video I can see that it has bash as well. I couldn't find any documentation section to whether how to enable this or not.

Originally created by @dilantha111 on GitHub (Jul 18, 2019). Originally assigned to: @bitcrazed on GitHub. <!-- What needs to change? Who is responsible for it? Why is it an open question? --> I installed windows terminal through Microsoft store. But I can only see power shell and cmd. In the introduction video I can see that it has bash as well. I couldn't find any documentation section to whether how to enable this or not.
claunia added the Resolution-DuplicateIssue-Docs labels 2026-01-30 23:06:39 +00:00
Author
Owner

@WSLUser commented on GitHub (Jul 18, 2019):

Reference: https://docs.microsoft.com/en-us/windows/wsl/about

@WSLUser commented on GitHub (Jul 18, 2019): Reference: https://docs.microsoft.com/en-us/windows/wsl/about
Author
Owner

@dilantha111 commented on GitHub (Jul 18, 2019):

Hi @WSLUser I have ubuntu as Windows subsystem for linux. But the thing is it's not included in the drop down list in windows new terminal. I only get powershell and cmd. If you check here https://devblogs.microsoft.com/commandline/introducing-windows-terminal/ they are listed to be chosen.

@dilantha111 commented on GitHub (Jul 18, 2019): Hi @WSLUser I have ubuntu as Windows subsystem for linux. But the thing is it's not included in the drop down list in windows new terminal. I only get powershell and cmd. If you check here https://devblogs.microsoft.com/commandline/introducing-windows-terminal/ they are listed to be chosen.
Author
Owner

@WSLUser commented on GitHub (Jul 18, 2019):

Try another distro to see if it's specific to Ubuntu. Pengwin and FedoraRemixforWSL came up automatically after installing the Terminal from Store.

@WSLUser commented on GitHub (Jul 18, 2019): Try another distro to see if it's specific to Ubuntu. Pengwin and FedoraRemixforWSL came up automatically after installing the Terminal from Store.
Author
Owner

@Plancke commented on GitHub (Jul 18, 2019):

It showed up for me automatically but you could try adding a new profile and setting commandline option to wsl.exe -d Ubuntu

@Plancke commented on GitHub (Jul 18, 2019): It showed up for me automatically but you could try adding a new profile and setting `commandline` option to `wsl.exe -d Ubuntu`
Author
Owner

@WSLUser commented on GitHub (Jul 18, 2019):

I was going to mention that but was wondering if Ubuntu had a bug in it. If you don't have a version of Windows that supports wsl.exe -d. Set Ubuntu as default and omit the -d.

@WSLUser commented on GitHub (Jul 18, 2019): I was going to mention that but was wondering if Ubuntu had a bug in it. If you don't have a version of Windows that supports `wsl.exe -d`. Set Ubuntu as default and omit the `-d`.
Author
Owner

@JBanks commented on GitHub (Jul 20, 2019):

@dilantha111 can you run the following command for me? wsl --list If it looks anything like the following, I'd like you to try deleting or renaming you profiles.json file and tell me if that fixes your issue.

Windows Subsystem for Linux Distributions:
Ubuntu (Default)    

@WSLUser That would cause issues when you actually click on the new tab, it won't cause issues with populating the list. The list is populated using the noisy, old wsl --list.

@JBanks commented on GitHub (Jul 20, 2019): @dilantha111 can you run the following command for me? `wsl --list` If it looks anything like the following, I'd like you to try deleting or renaming you profiles.json file and tell me if that fixes your issue. ``` Windows Subsystem for Linux Distributions: Ubuntu (Default) ``` @WSLUser That would cause issues when you actually click on the new tab, it won't cause issues with populating the list. The list is populated using the noisy, old `wsl --list`.
Author
Owner

@WSLUser commented on GitHub (Jul 20, 2019):

Ah I see. but launching wsl.exe opens a regular terminal. So I was thinking it should be able to work in Terminal as well, if indirectly at least. Say you use Terminal to open Powershell, and enter wsl. If the distro wasn't listed before, it should be able to detect it now that it's actively being used within Terminal. It just happens to be running in a PS session in my example.

@WSLUser commented on GitHub (Jul 20, 2019): Ah I see. but launching wsl.exe opens a regular terminal. So I was thinking it should be able to work in Terminal as well, if indirectly at least. Say you use Terminal to open Powershell, and enter wsl. If the distro wasn't listed before, it should be able to detect it now that it's actively being used within Terminal. It just happens to be running in a PS session in my example.
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 20, 2019):

This is because we do not refresh your list of default profiles on launch. You can delete your profiles.json to make it re-scan the distribution list. #754 #1321

@DHowett-MSFT commented on GitHub (Jul 20, 2019): This is because we do not refresh your list of default profiles on launch. You can delete your `profiles.json` to make it re-scan the distribution list. #754 #1321
Author
Owner

@dilantha111 commented on GitHub (Jul 20, 2019):

Thanks @JBanks it worked like a charm after deleting the profiles.json and launching the windows terminal again.

@dilantha111 commented on GitHub (Jul 20, 2019): Thanks @JBanks it worked like a charm after deleting the profiles.json and launching the windows terminal again.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2835