Terminal: Bug Report (Don't display ubuntu terminal)

Created on 18 Jul 2019  路  9Comments  路  Source: microsoft/terminal


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.

Issue-Docs Resolution-Duplicate

Most helpful comment

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

All 9 comments

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.

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

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

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.

@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.

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.

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

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

Was this page helpful?
0 / 5 - 0 ratings