Windows Terminal shows Tux logo instead of Ubuntu logo #11832

Closed
opened 2026-01-31 02:58:41 +00:00 by claunia · 18 comments
Owner

Originally created by @maximousblk on GitHub (Dec 17, 2020).

Environment

Windows build number: Microsoft Windows NT 10.0.19042.0
Windows Terminal version (if applicable): 1.4.3141.0

Any other software: Ubuntu on WSL2

Steps to reproduce

Not totally sure if this is intended behavior or a bug, but this is the WSL profile:

{
    // Make changes here to the WSL profile.
    "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
    "source": "Windows.Terminal.Wsl",
    "hidden": false
}

Expected behavior

Show the Ubuntu logo for Ubuntu.

expected

image from docs.microsoft.com/windows/terminal/dynamic-profiles

Actual behavior

Windows terminal instead shows the Tux logo

actual


PS: I'd suggest enabling GitHub Discussions for issues like this which are more help/question than a bug report.

Originally created by @maximousblk on GitHub (Dec 17, 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! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows NT 10.0.19042.0 Windows Terminal version (if applicable): 1.4.3141.0 Any other software: Ubuntu on WSL2 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> Not totally sure if this is intended behavior or a bug, but this is the WSL profile: ```jsonc { // Make changes here to the WSL profile. "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "source": "Windows.Terminal.Wsl", "hidden": false } ``` # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Show the Ubuntu logo for Ubuntu. ![expected](https://docs.microsoft.com/en-us/windows/terminal/images/dynamic-profiles.png) image from [docs.microsoft.com/windows/terminal/dynamic-profiles](https://docs.microsoft.com/en-us/windows/terminal/dynamic-profiles) # Actual behavior <!-- What's actually happening? --> Windows terminal instead shows the Tux logo ![actual](https://user-images.githubusercontent.com/28438021/102472876-c29b1d80-407c-11eb-82f6-575a12864835.png) --- PS: I'd suggest enabling GitHub Discussions for issues like this which are more help/question than a bug report.
claunia added the Resolution-By-DesignNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 02:58:42 +00:00
Author
Owner

@just1a-person commented on GitHub (Dec 17, 2020):

You have to add them yourselves. Microsoft can't use the Ubuntu logo to ship it directly with the Terminal I believe

Terminal dropdown

@just1a-person commented on GitHub (Dec 17, 2020): You have to add them yourselves. Microsoft can't use the Ubuntu logo to ship it directly with the Terminal I believe ![Terminal dropdown](https://user-images.githubusercontent.com/75578443/102491436-30077800-4096-11eb-80b5-0b8bb62c6045.png)
Author
Owner

@zadjii-msft commented on GitHub (Dec 17, 2020):

Yea, this is by design. Legally, I don't think we're allowed to ship the logos of other distros - Canonical maintains that copyright 😜

We are working on something that will allow them to ship a "settings fragment", so they can set the icon for their profile to whatever they'd like. That work is being tracked over in #7632 and #1690

@zadjii-msft commented on GitHub (Dec 17, 2020): Yea, this is by design. _Legally_, I don't think we're allowed to ship the logos of other distros - Canonical maintains that copyright 😜 We are working on something that will allow them to ship a "settings fragment", so they can set the icon for their profile to whatever they'd like. That work is being tracked over in #7632 and #1690
Author
Owner

@just1a-person commented on GitHub (Dec 17, 2020):

PROTIP: Go to https://ubuntu.com/ and add /favicon.ico to the end of the URL like https://ubuntu.com/favicon.ico and save the image

@just1a-person commented on GitHub (Dec 17, 2020): PROTIP: Go to https://ubuntu.com/ and add `/favicon.ico` to the end of the URL like https://ubuntu.com/favicon.ico and save the image
Author
Owner

@maximousblk commented on GitHub (Dec 17, 2020):

Ah that makes sense

You have to add them yourselves. [...] - @itsme-alan

How tho? "source": "Windows.Terminal.Wsl" is not specific to Ubuntu. Wouldn't it add the same icon to all the distros? I see it in the documentation. screenshot so I assume it is possible to customize individual WSL distro profiles (?), but I couldn't find a "how to" in the docs

@maximousblk commented on GitHub (Dec 17, 2020): Ah that makes sense > You have to add them yourselves. [...] - @itsme-alan How tho? `"source": "Windows.Terminal.Wsl"` is not specific to Ubuntu. Wouldn't it add the same icon to all the distros? I see it in the documentation. screenshot so I assume it is possible to customize individual WSL distro profiles (?), but I couldn't find a "how to" in the docs
Author
Owner

@zadjii-msft commented on GitHub (Dec 17, 2020):

Nah, each distro will get it's own profile. The source field is just a property indicating that this setting came from the "WSL dynamic profile generator". So you can modify the Ubuntu profile all you want, and it'll only affect that version of Ubuntu.

See the docs on setting an icon here.

For example, my 20.04 profile looks like:

{
    "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
    "hidden": false,
    "name": "Ubuntu-20.04",
    "source": "Windows.Terminal.Wsl",

    "startingDirectory" : "\\\\wsl$\\Ubuntu-20.04\\home\\zadjii",
    "background" : "#2C001E",
    "tabColor" : "#2C001E",
    "acrylicOpacity" : 0.9,
    "closeOnExit" : true,
    "colorScheme" : "Tango Dark",
    "cursorColor" : "#FFAF00",
    "cursorShape" : "emptyBox",
    "fontFace" : "Ubuntu Mono",
    "fontSize" : 12,
    "historySize" : 9001,
    "icon" : "C:\\Users\\migrie\\Downloads\\shell-icons\\ubuntu-icon.png",

    "antialiasingMode": "grayscale",
    "backgroundImage": "C:\\Users\\migrie\\Downloads\\Focal-Fossa_Plain_WP_1920x1080.png",
    "backgroundImageStretchMode": "none",
    "backgroundImageOpacity": 0.55,
}
@zadjii-msft commented on GitHub (Dec 17, 2020): Nah, each distro will get it's own profile. The `source` field is just a property indicating that this setting came from the "WSL dynamic profile generator". So you can modify the Ubuntu profile all you want, and it'll only affect that version of Ubuntu. See the docs on setting an icon [here](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-settings#icon). For example, my 20.04 profile looks like: ```json { "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "name": "Ubuntu-20.04", "source": "Windows.Terminal.Wsl", "startingDirectory" : "\\\\wsl$\\Ubuntu-20.04\\home\\zadjii", "background" : "#2C001E", "tabColor" : "#2C001E", "acrylicOpacity" : 0.9, "closeOnExit" : true, "colorScheme" : "Tango Dark", "cursorColor" : "#FFAF00", "cursorShape" : "emptyBox", "fontFace" : "Ubuntu Mono", "fontSize" : 12, "historySize" : 9001, "icon" : "C:\\Users\\migrie\\Downloads\\shell-icons\\ubuntu-icon.png", "antialiasingMode": "grayscale", "backgroundImage": "C:\\Users\\migrie\\Downloads\\Focal-Fossa_Plain_WP_1920x1080.png", "backgroundImageStretchMode": "none", "backgroundImageOpacity": 0.55, } ```
Author
Owner

@maximousblk commented on GitHub (Dec 17, 2020):

just to make sure, is this correct?

{
    "guid": "{2c4de342-38b7-51cf-b940-2309a097f517}",
	"name:": "Ubuntu"
    "source": "Windows.Terminal.Wsl",
    "icon" : "C:\\Users\\maximousblk\\.wt\\icons\\ubuntu.png",
    "hidden": false
},
{
    "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
	"name:": "Arch"
    "source": "Windows.Terminal.Wsl",
    "icon" : "C:\\Users\\maximousblk\\.wt\\icons\\arch.png",
    "hidden": false
},
{
    "guid": "{2c4de342-38b7-51cf-b940-2309a097f519}",
	"name:": "Bebian"
    "source": "Windows.Terminal.Wsl",
    "icon" : "C:\\Users\\maximousblk\\.wt\\icons\\debian.png",
    "hidden": false
}
@maximousblk commented on GitHub (Dec 17, 2020): just to make sure, is this correct? ```jsonc { "guid": "{2c4de342-38b7-51cf-b940-2309a097f517}", "name:": "Ubuntu" "source": "Windows.Terminal.Wsl", "icon" : "C:\\Users\\maximousblk\\.wt\\icons\\ubuntu.png", "hidden": false }, { "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "name:": "Arch" "source": "Windows.Terminal.Wsl", "icon" : "C:\\Users\\maximousblk\\.wt\\icons\\arch.png", "hidden": false }, { "guid": "{2c4de342-38b7-51cf-b940-2309a097f519}", "name:": "Bebian" "source": "Windows.Terminal.Wsl", "icon" : "C:\\Users\\maximousblk\\.wt\\icons\\debian.png", "hidden": false } ```
Author
Owner

@just1a-person commented on GitHub (Dec 17, 2020):

yes

@just1a-person commented on GitHub (Dec 17, 2020): yes
Author
Owner

@just1a-person commented on GitHub (Dec 17, 2020):

Did you misspell Debiun?

@just1a-person commented on GitHub (Dec 17, 2020): Did you misspell Debiun?
Author
Owner

@maximousblk commented on GitHub (Dec 17, 2020):

we're not so different, you and I

image

@maximousblk commented on GitHub (Dec 17, 2020): we're not so different, you and I ![image](https://user-images.githubusercontent.com/28438021/102495207-d5711a80-409b-11eb-8f02-70502ac773e3.png)
Author
Owner

@sntgchns commented on GitHub (Aug 1, 2021):

If you want to use the official icons, you should copy paste this in place: (3 examples, Ubuntu, Debian and kali-linux)

    {
            "guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
            "hidden": false,
            "icon": "https://www.debian.org/favicon.ico",
            "name": "Debian",
            "source": "Windows.Terminal.Wsl"
        },
        {
            "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
            "hidden": false,
            "icon": "https://assets.ubuntu.com/v1/49a1a858-favicon-32x32.png",
            "name": "Ubuntu-20.04",
            "source": "Windows.Terminal.Wsl"
        },
        {
            "guid": "{46ca431a-3a87-5fb3-83cd-11ececc031d2}",
            "hidden": false,
            "icon": "https://www.kali.org/images/favicon.png",
            "name": "kali-linux",
            "source": "Windows.Terminal.Wsl"
        }

**Consider this like an option to get better contrast in explorer when you are using a dark theme on Windows: (in this example, in the case of kali-linux), replace
"icon": "https://www.kali.org/images/favicon.png",
whith
"icon": "https://www.kali.org/images/favicon-dark.png",

For more tips, please, feel free to follow me on github https://github.com/sntgchns

@sntgchns commented on GitHub (Aug 1, 2021): If you want to use the official icons, you should copy paste this in place: (3 examples, Ubuntu, Debian and kali-linux) { "guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}", "hidden": false, "icon": "https://www.debian.org/favicon.ico", "name": "Debian", "source": "Windows.Terminal.Wsl" }, { "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "icon": "https://assets.ubuntu.com/v1/49a1a858-favicon-32x32.png", "name": "Ubuntu-20.04", "source": "Windows.Terminal.Wsl" }, { "guid": "{46ca431a-3a87-5fb3-83cd-11ececc031d2}", "hidden": false, "icon": "https://www.kali.org/images/favicon.png", "name": "kali-linux", "source": "Windows.Terminal.Wsl" } **Consider this like an option to get better contrast in explorer when you are using a dark theme on Windows: (in this example, in the case of kali-linux), replace "icon": "https://www.kali.org/images/favicon.png", whith "icon": "https://www.kali.org/images/favicon-dark.png", For more tips, please, feel free to follow me on github <rel>https://github.com/sntgchns</rel>
Author
Owner

@stepbystepcode commented on GitHub (Nov 6, 2021):

You have to add them yourselves. Microsoft can't use the Ubuntu logo to ship it directly with the Terminal I believe

Terminal dropdown

How did you install arch Linux?

@stepbystepcode commented on GitHub (Nov 6, 2021): > You have to add them yourselves. Microsoft can't use the Ubuntu logo to ship it directly with the Terminal I believe > > ![Terminal dropdown](https://user-images.githubusercontent.com/75578443/102491436-30077800-4096-11eb-80b5-0b8bb62c6045.png) How did you install arch Linux?
Author
Owner

@just1a-person commented on GitHub (Nov 6, 2021):

https://docs.microsoft.com/en-us/windows/wsl/use-custom-distro

This should show you how to do it. The guide shows you how to install CentOS but you can install archlinux

@just1a-person commented on GitHub (Nov 6, 2021): https://docs.microsoft.com/en-us/windows/wsl/use-custom-distro This should show you how to do it. The guide shows you how to install CentOS but you can install [`archlinux`](https://hub.docker.com/_/archlinux)
Author
Owner

@felipecrs commented on GitHub (Jan 17, 2022):

Anyway, isn't there a place in Windows where the Ubuntu logo can be found instead of downloading it remotely? I think it comes with the appx.

@felipecrs commented on GitHub (Jan 17, 2022): Anyway, isn't there a place in Windows where the Ubuntu logo can be found instead of downloading it remotely? I think it comes with the appx.
Author
Owner

@ethans commented on GitHub (Feb 28, 2022):

Yes, you can add it like this:
"icon": "C:/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_neutral_split.scale-100_79rhkp1fndgsc/Assets/Square150x150Logo.scale-100.png"

@ethans commented on GitHub (Feb 28, 2022): Yes, you can add it like this: "icon": "C:/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_neutral_split.scale-100_79rhkp1fndgsc/Assets/Square150x150Logo.scale-100.png"
Author
Owner

@felipecrs commented on GitHub (Feb 28, 2022):

Hm... that works. Unfortunately, the path changes every time it gets updated from the Windows Store.

I still think Windows Terminal should find the icon by itself, by looking at the executable for the installed distribution.

@felipecrs commented on GitHub (Feb 28, 2022): Hm... that works. Unfortunately, the path changes every time it gets updated from the Windows Store. I still think Windows Terminal should find the icon by itself, by looking at the executable for the installed distribution.
Author
Owner

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

Yea, this is by design. Legally, I don't think we're allowed to ship the logos of other distros - Canonical maintains that copyright 😜

We are working on something that will allow them to ship a "settings fragment", so they can set the icon for their profile to whatever they'd like. That work is being tracked over in #7632 and #1690

@zadjii-msft following up on this, what about fetching the icon from the WSL package or executable? That would not imply shipping the icon with Terminal itself.

@felipecrs commented on GitHub (Jun 19, 2023): > Yea, this is by design. _Legally_, I don't think we're allowed to ship the logos of other distros - Canonical maintains that copyright 😜 > > We are working on something that will allow them to ship a "settings fragment", so they can set the icon for their profile to whatever they'd like. That work is being tracked over in #7632 and #1690 @zadjii-msft following up on this, what about fetching the icon from the WSL package or executable? That would not imply shipping the icon with Terminal itself.
Author
Owner

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

I'm not sure how feasible that would be. Technically, each distro is free to set up their app package however they want, and I'm not sure the registry includes info as to the exe responsible for that distro. IIRC you can also like side-load distros without an app package, so that might also be out of the question.

In 1.17 we did add support for setting the icon to an exe and automatically using the exe's icon. I dunno if this works for app exe's like ubuntu.exe though, since those are technically app execution aliases (a fancy kind of symlink)

@zadjii-msft commented on GitHub (Jun 20, 2023): I'm not sure how feasible that would be. Technically, each distro is free to set up their app package however they want, and I'm not sure the registry includes info as to the exe responsible for that distro. IIRC you can also like side-load distros without an app package, so that might also be out of the question. In 1.17 we did add support for setting the `icon` to an `exe` and automatically using the exe's icon. I dunno if this works for app exe's like `ubuntu.exe` though, since those are technically app execution aliases (a fancy kind of symlink)
Author
Owner

@felipecrs commented on GitHub (Jun 20, 2023):

Yeah, the "alias" doesn't work indeed:

image

But it doesn't seem to have an icon anyway.

The actual .exe "C:\Program Files\WindowsApps\CanonicalGroupLimited.Ubuntu_2204.2.33.0_x64__79rhkp1fndgsc\ubuntu.exe" works to get the icon from though.

I have discovered a bug testing this though: https://github.com/microsoft/terminal/issues/15581

So, thanks for the details. I'll let you know if I discover something.

@felipecrs commented on GitHub (Jun 20, 2023): Yeah, the "alias" doesn't work indeed: ![image](https://github.com/microsoft/terminal/assets/29582865/add688a6-20e2-450a-9cb2-02d68e187f9d) But it doesn't seem to have an icon anyway. The actual `.exe` "C:\Program Files\WindowsApps\CanonicalGroupLimited.Ubuntu_2204.2.33.0_x64__79rhkp1fndgsc\ubuntu.exe" works to get the icon from though. I have discovered a bug testing this though: https://github.com/microsoft/terminal/issues/15581 So, thanks for the details. I'll let you know if I discover something.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11832