How to change the terminal to Alacritty in "Open in Terminal" context mneu?

I currently using Alacritty terminal. Shortcut works fine. But when I click "Open in Terminal" in context menu, it still pops up the gnome terminal. So is there any way I could change to Alacritty?


Solution 1:

I installed manually and put the executable in /usr/local/bin

I run this command taken from here to add an alacritty alternative:

sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/local/bin/alacritty 50

then I run @walttheboss command:

sudo update-alternatives --config x-terminal-emulator

If you want remove alacritty alternative this is the command:

sudo update-alternatives --remove "x-terminal-emulator" "/usr/local/bin/alacritty"

Solution 2:

I would recommend you read this page.

sudo update-alternatives --config x-terminal-emulator

It will show all the terminal emulators present on your system that can be used as default. The current default terminal is marked with the asterisk.

All you have to do is to enter the selection number.