Terminal: Set default shell

Created on 3 Jul 2019  路  2Comments  路  Source: microsoft/terminal

I want ubuntu as my default shell. How to do that?

When I open the terminal app, I would like to see ubuntu be opened instead of powershell.

Needs-Tag-Fix Needs-Triage

Most helpful comment

Thank you!

It worked. For people also looking for the answer:

{
    "globals" : 
    {
        "alwaysShowTabs" : true,
--      "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
++      "defaultProfile" : "{2c4de342-38b7-51cf-b940-2309a097f518}",
        "initialCols" : 100,
        "initialRows" : 25,
        ....

This worked for me. Where {2c4de342-38b7-51cf-b940-2309a097f518} is the value of the "guid" in my ubuntu profile.

All 2 comments

You can do this setting in the profiles.json file. There you find the option to set the default profile for your terminal.

You'll find the correct GUID for your profile in the profiles section of the file.

Thank you!

It worked. For people also looking for the answer:

{
    "globals" : 
    {
        "alwaysShowTabs" : true,
--      "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
++      "defaultProfile" : "{2c4de342-38b7-51cf-b940-2309a097f518}",
        "initialCols" : 100,
        "initialRows" : 25,
        ....

This worked for me. Where {2c4de342-38b7-51cf-b940-2309a097f518} is the value of the "guid" in my ubuntu profile.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carlos-zamora picture carlos-zamora  路  3Comments

zadjii-msft picture zadjii-msft  路  3Comments

TayYuanGeng picture TayYuanGeng  路  3Comments

waf picture waf  路  3Comments

mrmlnc picture mrmlnc  路  3Comments