Option for choosing Ubuntu by default #3220

Closed
opened 2026-01-30 23:16:10 +00:00 by claunia · 6 comments
Owner

Originally created by @Fegon on GitHub (Aug 6, 2019).

Please add an option for choosing Ubuntu shell by default

Thanks!

Originally created by @Fegon on GitHub (Aug 6, 2019). Please add an option for choosing Ubuntu shell by default Thanks!
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-30 23:16:10 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 6, 2019):

This is something that's already possible! By replacing the globals.defaultProfile value with the guid of the Ubuntu profile, the Windows Terminal will launch Ubuntu by default.

Refer to this document for more info.

@zadjii-msft commented on GitHub (Aug 6, 2019): This is something that's already possible! By replacing the `globals.defaultProfile` value with the `guid` of the Ubuntu profile, the Windows Terminal will launch Ubuntu by default. Refer to [this document](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md) for more info.
Author
Owner

@mrchief commented on GitHub (Aug 7, 2019):

How does one find these guids?

@mrchief commented on GitHub (Aug 7, 2019): How does one find these guids?
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 7, 2019):

They're in your profiles.json file already.

@DHowett-MSFT commented on GitHub (Aug 7, 2019): They're in your `profiles.json` file already.
Author
Owner

@mrchief commented on GitHub (Aug 7, 2019):

Not mine
image

@mrchief commented on GitHub (Aug 7, 2019): Not mine ![image](https://user-images.githubusercontent.com/781818/62654887-d71ac200-b92e-11e9-97bb-d0fefa2bf8e7.png)
Author
Owner

@mrchief commented on GitHub (Aug 7, 2019):

I didn't have Ubuntu installed and I'm not sure if WSL was enabled when I first installed this. Maybe that's the reason I'm missing them?

@mrchief commented on GitHub (Aug 7, 2019): I didn't have Ubuntu installed and I'm not sure if WSL was enabled when I first installed this. Maybe that's the reason I'm missing them?
Author
Owner

@zadjii-msft commented on GitHub (Aug 8, 2019):

Yea, we only generate the Ubuntu profile if it exists on first launch of the terminal. You could delete your profiles.json file and we'll re-generate it with the Ubuntu profile now that you have Ubuntu installed.

This is a scenario that'll get better with #754.

@zadjii-msft commented on GitHub (Aug 8, 2019): Yea, we only generate the Ubuntu profile if it exists on first launch of the terminal. You could delete your profiles.json file and we'll re-generate it with the Ubuntu profile now that you have Ubuntu installed. This is a scenario that'll get better with #754.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3220