How do I get Windows 10 Terminal to launch WSL?

前端 未结 7 1593
长发绾君心
长发绾君心 2021-01-30 09:31

I\'m using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I\'m trying to use:

        {
            \"acrylic         


        
7条回答
  •  旧时难觅i
    2021-01-30 09:53

    Turns out that all I needed to do was change the commandline to ubuntu1804.exe. Like this:

            {
                "acrylicOpacity" : 0.75,
                "closeOnExit" : true,
                "colorScheme" : "Campbell",
                "commandline": "ubuntu1804.exe",
                "cursorColor" : "#FFFFFF",
                "cursorShape" : "bar",
                "fontFace" : "Consolas",
                "fontSize" : 10,
                "guid" : "{0caa0dad-35be-5f56-a8ff-abceeeaa6101}",
                "historySize" : 9001,
                "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
                "name" : "wsl",
                "padding" : "0, 0, 0, 0",
                "snapOnInput" : true,
                "startingDirectory" : "%USERPROFILE%",
                "useAcrylic" : false
            }
    

提交回复
热议问题