Duplicated Ubuntu WSL profiles on fresh install #20096

Closed
opened 2026-01-31 07:03:26 +00:00 by claunia · 4 comments
Owner

Originally created by @mwisnicki on GitHub (Jun 15, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

10.0.19045.3086

Other Software

No response

Steps to reproduce

  1. Install wsl ubuntu
  2. Install terminal

Expected Behavior

Single Ubuntu profile for WSL

Actual Behavior

Two Ubuntu profiles for wsl Ubuntu distro:

  • wsl.exe -d Ubuntu and penguin icon
  • ubuntu.exe and ubuntu icon.
Originally created by @mwisnicki on GitHub (Jun 15, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number 10.0.19045.3086 ### Other Software _No response_ ### Steps to reproduce 1. Install wsl ubuntu 2. Install terminal ### Expected Behavior Single Ubuntu profile for WSL ### Actual Behavior Two Ubuntu profiles for wsl Ubuntu distro: - `wsl.exe -d Ubuntu` and penguin icon - `ubuntu.exe` and ubuntu icon.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:03:26 +00:00
Author
Owner

@lhecker commented on GitHub (Jun 19, 2023):

Could you comment the outputs of wsl --version and wsl --list --verbose? Additionally, a screenshot of HKCU\Software\Microsoft\Windows\CurrentVersion\Lxss in regedit would be helpful - something like this:
image

Edit: However, I feel like this problem is probably that the Ubuntu fragment somehow clashes with what we're doing by reading the registry... But I figured it can't hurt to have all the information.

@lhecker commented on GitHub (Jun 19, 2023): Could you comment the outputs of `wsl --version` and `wsl --list --verbose`? Additionally, a screenshot of `HKCU\Software\Microsoft\Windows\CurrentVersion\Lxss` in regedit would be helpful - something like this: ![image](https://github.com/microsoft/terminal/assets/2256941/d192eb54-1816-4c75-8e68-39d74511fce7) Edit: However, I feel like this problem is probably that the Ubuntu fragment somehow clashes with what we're doing by reading the registry... But I figured it can't hurt to have all the information.
Author
Owner

@zadjii-msft commented on GitHub (Jun 19, 2023):

Oh this is surely the fact that Canonical ships a separate profile for Ubuntu, rather than a fragment that updates the existing one we generate. This has caused no end of confusion for everyone involved.

see #12961 et al

@zadjii-msft commented on GitHub (Jun 19, 2023): Oh this is surely the fact that Canonical ships a separate profile for Ubuntu, rather than a fragment that updates the existing one we generate. This has caused no end of confusion for everyone involved. see #12961 et al
Author
Owner

@carlos-zamora commented on GitHub (Jun 21, 2023):

Hi @mwisnicki. Thanks for filing. This is the same root cause as #12961. We need a holistic solution for all of them. Marking as a /dup of #12961

@carlos-zamora commented on GitHub (Jun 21, 2023): Hi @mwisnicki. Thanks for filing. This is the same root cause as #12961. We need a holistic solution for all of them. Marking as a /dup of #12961
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Jun 21, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Jun 21, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20096