More than 14 profiles #20660

Closed
opened 2026-01-31 07:20:24 +00:00 by claunia · 9 comments
Owner

Originally created by @zackmuc on GitHub (Oct 12, 2023).

Description of the new feature/enhancement

I have more than 14 profiles but only see 14

Proposed technical implementation details (optional)

I want to see all profiles

Originally created by @zackmuc on GitHub (Oct 12, 2023). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 I have more than 14 profiles but only see 14 # Proposed technical implementation details (optional) I want to see all profiles
Author
Owner

@zadjii-msft commented on GitHub (Oct 12, 2023):

Could you share a screenshot? I'm pretty confident we display more than 14 profiles:
image

@zadjii-msft commented on GitHub (Oct 12, 2023): Could you share a screenshot? I'm pretty confident we display more than 14 profiles: ![image](https://github.com/microsoft/terminal/assets/18356694/4d147e9b-e12e-4269-8f85-500901bf5eec)
Author
Owner

@zackmuc commented on GitHub (Oct 12, 2023):

image
settings.json
Attached screenshot with 14 and config file with more ..
settings.json

@zackmuc commented on GitHub (Oct 12, 2023): ![image](https://github.com/microsoft/terminal/assets/4520343/54a07efd-100f-4e29-8c14-217ba58e2775) [settings.json](https://github.com/microsoft/terminal/files/12883127/settings.json) Attached screenshot with 14 and config file with more .. [settings.json](https://github.com/microsoft/terminal/files/12883151/settings.json)
Author
Owner

@zadjii-msft commented on GitHub (Oct 12, 2023):

Uh, that's your winget config...

@zadjii-msft commented on GitHub (Oct 12, 2023): Uh, that's your winget config...
Author
Owner

@zackmuc commented on GitHub (Oct 12, 2023):

Sorry here is the correct config
settings.json

@zackmuc commented on GitHub (Oct 12, 2023): Sorry here is the correct config [settings.json](https://github.com/microsoft/terminal/files/12883186/settings.json)
Author
Owner

@zadjii-msft commented on GitHub (Oct 12, 2023):

Huh, the curious entries to me are:

            {
                "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c6}",
                "hidden": false,
                "name": "Ubuntu 22.04.2 LTS",
                "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc"
            },
            {
                "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c7}",
                "hidden": false,
                "name": "Ubuntu 22.04.2 LTS",
                "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc"
            },            {
                "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c8}",
                "hidden": false,
                "name": "Ubuntu 22.04.2 LTS",
                "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc"
            },            {
                "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c9}",
                "hidden": false,
                "name": "Ubuntu 22.04.2 LTS",
                "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc"
            },

Did you make all these? Surely one of them came from the Ubuntu 22.04.2 LTS app, but the others look like they were copy-pasted with only changing the guid. I don't think those'll work like that.

The one that came from the Ubuntu app is a "fragment profile". Terminal knows that it's associated with the profile that app defined. But the other three - those have a source, but when Terminal looks at the actual Ubuntu app, it doesn't find those profiles. I believe in that case, we just discard those extra unmatched profiles.

You'll want to:

  • Make sure to remove the source from those profiles
  • Make sure to set the commandline to wsl -d Ubuntu-22.04 (where Ubuntu-22.04 is one of the values from wsl -l)
  • I don't think they need unique names if you gave them unique guids

Does that fix it/?

@zadjii-msft commented on GitHub (Oct 12, 2023): Huh, the curious entries to me are: ```jsonc { "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c6}", "hidden": false, "name": "Ubuntu 22.04.2 LTS", "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc" }, { "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c7}", "hidden": false, "name": "Ubuntu 22.04.2 LTS", "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc" }, { "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c8}", "hidden": false, "name": "Ubuntu 22.04.2 LTS", "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc" }, { "guid": "{d7b20cea-47a9-518c-95a4-c8bd91e2e1c9}", "hidden": false, "name": "Ubuntu 22.04.2 LTS", "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc" }, ``` Did you make all these? Surely one of them came from the Ubuntu 22.04.2 LTS app, but the others look like they were copy-pasted with only changing the guid. I don't think those'll work like that. The one that came from the Ubuntu app is a "fragment profile". Terminal knows that it's associated with the profile that app defined. But the other three - those have a `source`, but when Terminal looks at the actual Ubuntu app, it doesn't find those profiles. I believe in that case, we just discard those extra unmatched profiles. You'll want to: * Make sure to remove the `source` from those profiles * Make sure to set the `commandline` to `wsl -d Ubuntu-22.04` (where `Ubuntu-22.04` is one of the values from `wsl -l`) * I don't _think_ they need unique names if you gave them unique guids Does that fix it/?
Author
Owner

@zackmuc commented on GitHub (Oct 12, 2023):

this was just a test had previeously the 2 commandlines from vs 2019 and the also did not appear

also if i manualy add profiles with the setting "add new profile" the do not appear

@zackmuc commented on GitHub (Oct 12, 2023): this was just a test had previeously the 2 commandlines from vs 2019 and the also did not appear also if i manualy add profiles with the setting "add new profile" the do not appear
Author
Owner

@zadjii-msft commented on GitHub (Oct 12, 2023):

also if i manualy add profiles with the setting "add new profile" the do not appear

FWIW, they won't appear until you actually save the settings. Does just adding something like

{
    "hidden": false,
    "name": "one",
    "commandline": "cmd.exe"
},
{
    "hidden": false,
    "name": "two",
    "commandline": "cmd.exe"
},
{
    "hidden": false,
    "name": "three",
    "commandline": "cmd.exe"
},
{
    "hidden": false,
    "name": "four",
    "commandline": "cmd.exe"
}

work to display more?

@zadjii-msft commented on GitHub (Oct 12, 2023): > also if i manualy add profiles with the setting "add new profile" the do not appear FWIW, they won't appear until you actually _save_ the settings. Does just adding something like ```json { "hidden": false, "name": "one", "commandline": "cmd.exe" }, { "hidden": false, "name": "two", "commandline": "cmd.exe" }, { "hidden": false, "name": "three", "commandline": "cmd.exe" }, { "hidden": false, "name": "four", "commandline": "cmd.exe" } ``` work to display more?
Author
Owner

@zackmuc commented on GitHub (Oct 12, 2023):

Thx got it to work. How did you create Folders?

@zackmuc commented on GitHub (Oct 12, 2023): Thx got it to work. How did you create Folders?
Author
Owner

@zadjii-msft commented on GitHub (Oct 12, 2023):

How did you create Folders

Go check out: New tab dropdown

@zadjii-msft commented on GitHub (Oct 12, 2023): > How did you create Folders Go check out: [New tab dropdown](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/appearance#new-tab-dropdown)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20660