3

I have installed Windows Terminal and Ubuntu App from Microsoft Store. According to the description of the app,

The Windows Terminal is a new, modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL.

To use WSL, I need to launch Ubuntu in Windows Terminal, but I can't find the option for that.

Screenshot

How do I add Ubuntu in the menu?

Kulfy
  • 273

1 Answers1

6
  • Click on Settings.

    Screenshot

  • Choose a text editor to edit that .json file.
  • Find profiles entry and add this after the CMD entry putting a comma (,) after } to separate the entries.

    {
        "acrylicOpacity" : 0.75,
        "closeOnExit" : true,
        "colorScheme" : "Campbell",
        "commandline" : "ubuntu",
        "cursorColor" : "#FFFFFF",
        "cursorShape" : "bar",
        "fontFace" : "Consolas",
        "fontSize" : 10,
        "guid" : "{GUID of the app in double quotes}",
        "historySize" : 9001,
        "icon" : "Absolute path of icon (with double quotes)",
        "name" : "Ubuntu",
        "padding" : "0, 0, 0, 0",
        "snapOnInput" : true,
        "startingDirectory" : "%USERPROFILE%",
        "useAcrylic" : true
    }
    
  • Note that the GUID must be inside { }.

  • Save the file. Click on drop-down menu again to check if it has been added.

    Screenshot 2

Notes:

  1. To get the GUID of an app, see this question: How do I get GUID of apps installed from Microsoft Store?
  2. You can download the logo in png format from anywhere of x48. I've used this icon and 48x48 size.
Kulfy
  • 273