How to Change Default Terminal To Alacritty?

I have installed alacritty and tried to make it default terminal using:

sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $(which alacritty) 50
sudo update-alternatives --set x-terminal-emulator $(which alacritty)

It did not work. In nautilus when I right click and click Open In Terminal, it opens Gnome-Terminal.

then I removed nautilus-extension-gnome-terminal using:

sudo apt-get remove nautilus-extension-gnome-terminal

Then I have installed nemo using:

sudo apt install -y nemo

and made it default file manager using:

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search

When I right click on nemo and press Open In Terminal, it also opens Gnome-Terminal.

What can I do?

gsettings set org.gnome.desktop.default-applications.terminal exec alacritty
gsettings set org.gnome.desktop.default-applications.terminal exec-arg ''

This

This still open gnome-terminal in nemo.

For nemo to work I had to use:

gsettings set org.cinnamon.desktop.default-applications.terminal exec alacritty
gsettings set org.cinnamon.desktop.default-applications.terminal exec-arg ''

Thank you very much.