Currently I use alacritty
as default terminal emulator. On any given day this is the output of update-alternatives
:
$ sudo update-alternatives --config x-terminal-emulator
There are 7 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/alacritty 70 auto mode
1 /usr/bin/alacritty 70 manual mode
2 /usr/bin/gnome-terminal.wrapper 40 manual mode
3 /usr/bin/koi8rxterm 20 manual mode
4 /usr/bin/lxterm 30 manual mode
5 /usr/bin/uxterm 20 manual mode
6 /usr/bin/xterm 20 manual mode
7 /usr/local/bin/termite 60 manual mode
Press <enter> to keep the current choice[*], or type selection number:
However, every time I run the updates the priorities in this list are automatically modified and alacritty
stops being the default programme (and is removed from auto mode
):
$ sudo update-alternatives --config x-terminal-emulator
There are 7 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/local/bin/termite 60 auto mode
1 /usr/bin/alacritty 50 manual mode
2 /usr/bin/gnome-terminal.wrapper 40 manual mode
3 /usr/bin/koi8rxterm 20 manual mode
4 /usr/bin/lxterm 30 manual mode
5 /usr/bin/uxterm 20 manual mode
6 /usr/bin/xterm 20 manual mode
7 /usr/local/bin/termite 60 manual mode
Press <enter> to keep the current choice[*], or type selection number:
It is possible to reset alacritty
as the default terminal emulator with a
command like:
$ sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 70
Until the updates are run and it all gets back to square one. How can I prevent
the alternatives priorities from being modified automatically, setting alacritty
permanently as the
default terminal emulator?