felixse / FluentTerminal

A Terminal Emulator based on UWP and web technologies.
GNU General Public License v3.0
9.15k stars 442 forks source link

FluentTerminal is not able to register itself as the default terminal. #965

Open RokeJulianLockhart opened 2 years ago

RokeJulianLockhart commented 2 years ago

Windows 11 allows configuration of the default terminal.

andersthorsen commented 2 years ago

This would be nice.

Looking at this it appears that the section below in the manifest might be related to registering as a terminal host. This is just a guess from looking at the code. https://github.com/microsoft/terminal/blob/main/src/cascadia/CascadiaPackage/Package.appxmanifest

<uap3:Extension Category="windows.appExtension">
            <uap3:AppExtension Name="com.microsoft.windows.terminal.host"
                Id="Terminal"
                DisplayName="Windows Terminal"
                Description="Terminal host built from microsoft/terminal open source repository"
                PublicFolder="Public">
                <uap3:Properties>
                    <Clsid>{E12CFF52-A866-4C77-9A90-F570A7AA2C6B}</Clsid>
                </uap3:Properties>
            </uap3:AppExtension>
        </uap3:Extension>

The CLSID appears to point to an implementation of this interface: https://github.com/microsoft/terminal/blob/main/src/host/proxy/ITerminalHandoff.idl

PixelHir commented 2 years ago

Are there any updates on this? I really wish I could use FluentTerminal as default terminal

HuyHung1408 commented 1 year ago

Looking forward for this, terminal is slow as hell in my pc, Fluent Terminal just a perfect replacement.