cmderdev / cmder

Lovely console emulator package for Windows
https://cmder.app
MIT License
25.81k stars 2.02k forks source link

Question: Replace `conhost.exe` by ConEmu in Cmder (Set as default terminal) #2823

Closed Jacellen closed 1 year ago

Jacellen commented 1 year ago

Question

Why doesn't Cmder replace conhost.exe the same way cmd does?

Checklist

chrisant996 commented 1 year ago

The question is about ConEmu, not Cmder. ConEmu is what Cmder uses for the terminal hosting.

To learn about how ConEmu works, visit its repo and wiki, and consider opening a discussion there.

DRSDavidSoft commented 1 year ago

The official default terminal documentation states:

In fact, Windows does not provide official way to change the default terminal application. That is because console subsystem is a part of Windows kernel (csrss.exe up to Vista and conhost.exe in Windows 7 and higher). Only use of hacking methods can ‘change’ default Windows terminal application. And ConEmu can do it!

Please visit the official documentation of ConEmu in order to learn more about it:
https://conemu.github.io/en/DefaultTerminal.html

For the ConEmu-related questions, you can ask @Maximus5, the developer of the project

Note: Other than that, you can achieve this alternatively using Windows Terminal instead of the default ConEmu emulator. It won't actually replace conhost.exe in the sense that you can open it directly from the run menu, but if you typed cmd.exe then Windows Terminal would launch instead of conemu.exe.

DRSDavidSoft commented 1 year ago

Related: https://github.com/Maximus5/ConEmu/issues/1869