How to change the terminal to Alacritty in "Open in Terminal" context mneu?
9,963
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.
![Huy Duy](https://lh3.googleusercontent.com/-Y_z-PBFGvHM/AAAAAAAAAAI/AAAAAAAAAAA/ACevoQOpQxCSecfjlR4gAFOYclxlifqWIw/mo/photo.jpg?sz=256)
Comments
-
Huy Duy almost 2 years
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?
-
Huy Duy about 4 yearsI did this solution already. As I mentioned above, shortcut works fine but the "Open in Terminal" still opens Gnome terminal.
-
walttheboss about 4 yearsThanks for clarifying. I thought that changing the default would correct the problem. If you want a particular file type to be opened in terminal then you can associate that with alacrity. Right click then adjust file type options to your liking. Then you can "open with" and pick terminal.
-
Rishabh over 3 yearsThank you @israteneda this worked for me.