How to change default profile
I Want to have option to change default Terminal Windows
now when i open it it opens by default on powershell
i want to change this to open say "Arch"

open settings. in the global, change the value of the "defaultProfile" to any "guid" in your case the Arch guid

Yep, that’s how you do it.
Where can I find profiles.json file Path of it
Also I asked for this feature to be available in wi does terminal settings app
Also when I try to open window terminal settings it tells me no app installed can open it and ask me to choose which app to use to open settings
When it asks, select a text editor. That’s how you open profiles.json.
When it asks, select a text editor. That’s how you open
profiles.json. Thanks
Hi. Is there a way to open Windows Terminal without loading a default profile? I tried to comment "defaultProfile" but it still opens up Windows PowerShell by default. Thanks.
You want to launch Windows Terminal with no profile? We've never considered this. What's your use case?
Hi. Is there a way to open Windows Terminal without loading a default profile? I tried to comment "defaultProfile" but it still opens up Windows PowerShell by default. Thanks.
same for me, i tried but not working too.
Y'all keep saying that but nobody has explained why they would possibly want to launch an empty terminal?
I can see it being useful in a case where the user has a number of different profiles and there is not any one of them that they use the majority of the time. As it is, they always get a tab with the deemed default profile. They must then create another tab with the profile that they want to actually use, then close the tab with the default profile, which they didn't want in the first place. It's only an extra click, I suppose, but could be kindof annoying.
Maybe if they pick no default profile, it opens with a basic window that lists all the profiles, and they can then click the one they want - similar to what MobaXTerm does, IIRC.
The other day, I just learned I could create a profile without guid.
{
"hidden": false,
"name": "project",
"commandline": "C://Windows//SysWOW64//cmd.exe",
"startingDirectory": "d://dvp//project",
"icon": "D:/dvp/project/favicon.ico"
}
In this case, can I still make this one as default?
Where do I find or use the terminal for everything on the latest fast ring insider build? Currently on my computer it still is like it was from before the terminal change with tabs and stuff.
@ccapeng You'll have to give the profile a GUID if you want to be able to set it as the default. I recommend https://www.guidgenerator.com/
@AraHaan The Terminal doesn't come pre-installed on Windows - you'll have to manually download it from the store. What you're seeing is still the legacy console, conhost.exe. If you want the Terminal to auto-launch for commandline applications like conhost does, you'll want to follow #492
Interesting so some people inject dlls into windows explorer to intercept it on executing programs (and to do things like open them in a new tab). Me on the other hand a way I do it is basically to have to process to gain ownership of that instance and embed it in without it's window frame like I did 1 time with notepad on tabs in a windows form.
Perhaps if there was a Windows API function that lists only processes that run in the console (has only a console window like python for example) so then it could be embeded the same way I did it before. Ye it might seem hacky but avoids dll injection.
Edit: Another option:
- Get
full pathof all executing programs. - Open programs and see if the type of program is set to
consoleand notWindows GUIon the entrypoint type. - for each one of type set to
consoleembed it in the terminal like I did before on my notepad test.
@AraHaan that discussion is probably best had in #492, but we're definitely not in the business of hacking a solution together for this problem. Since our team owns the entire console infrastructure, we can actually build a proper system within Windows to allow users to not only use Windows Terminal as the default terminal emulator on Windows, but others as well 😄
Nice because I would like for all console applications to be more like edge or firefox on tabs when someone passes an url to any methods of starting a process.
Even if it means LKLM or LKCU registry entries.
Guys do you know if this was broken in latest version?
Windows Terminal
Version: 0.11.1121.0
I was using defaultProfile as per @Shorotshishir comment, but since I updated to this version (via Microsoft Store) it keeps opening PowerShell by default, although my default profile exists, is set, was working and can still work when selected...
Nevermind, I see now it has been moved from globals.defaultProfile to defaultProfile in the root...
Nevermind, I see now it has been moved from
globals.defaultProfiletodefaultProfilein the root... Thanks!
how about we include info like this in the update information? lost 30 minutes searching for that..