One click to open different profiles #10795

Open
opened 2026-01-31 02:30:31 +00:00 by claunia · 0 comments
Owner

Originally created by @o1x3 on GitHub (Sep 27, 2020).

Description of the new feature/enhancement

I have 4 profiles in my Windows Terminal App -- Ubuntu, Arch (unofficial), Cmd and Powershell.

I have set the default to Ubuntu because that's what I use the most. However this means that if I want to use cmd through the Windows Terminal, I have to open it and wait a second for it to load Ubuntu and then open up the cmd tab.

Now my suggestion is perhaps a command line flag or something for the wt.exe, which will allow us to open the specific environment while keeping the current profile customization.

I know I can do wt.exe nt -p <profile name> to open the specific environment, but opening it this way, opens the app with the default settings.

My current work around for this is to use a python script which when opened, modifies profile.json with the changed guid of default shell and opens wt.exe depending on the parameter I give to the script. But as I'm sure you guys can tell, this is going to be fairly slow and ineffective in the long run.

If the wt.exe executable will support opening specific environments while keeping the settings, we can even map it to a shortcut and the whole process gets a whole lot easier

Originally created by @o1x3 on GitHub (Sep 27, 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! --> # Description of the new feature/enhancement I have 4 profiles in my Windows Terminal App -- Ubuntu, Arch (unofficial), Cmd and Powershell. I have set the default to Ubuntu because that's what I use the most. However this means that if I want to use cmd through the Windows Terminal, I have to open it and wait a second for it to load Ubuntu and then open up the cmd tab. Now my suggestion is perhaps a command line flag or something for the wt.exe, which will allow us to open the specific environment **while keeping the current profile customization**. I know I can do `wt.exe nt -p <profile name> ` to open the specific environment, but opening it this way, opens the app with the default settings. My current work around for this is to use a python script which when opened, modifies profile.json with the changed guid of default shell and opens wt.exe depending on the parameter I give to the script. But as I'm sure you guys can tell, this is going to be fairly slow and ineffective in the long run. If the wt.exe executable will support opening specific environments while keeping the settings, we can even map it to a shortcut and the whole process gets a whole lot easier <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> <!-- A clear and concise description of what you want to happen. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10795