Do you’ve got a number of Terminal emulators on Ubuntu 22.04 or 20.04? Then discover ways to set your favourite Terminal app because the default one on Ubuntu Linux.
Virtually all Linux distros include a default terminal software to run instructions. Nevertheless, in the event you really feel that your Linux Terminal is just not sufficient for you and need to set up another then you’re all the time free to take action. You possibly can verify our record of the 12 best Terminal applications for Ubuntu. However, it doesn’t matter which Terminal you’ve got put in however if in case you have a number of and need to set one in every of them as your default emulator app to run instructions then what to do? On this tutorial, we talk about how to do this utilizing the update-alternatives command line utility.
Steps to set default Terminal in Ubuntu or Debian Linux
Properly, to alter the default Ubuntu Terminal and set another, we have to have at the least yet another Terminal emulator app other than the one which comes with the system. For instance, Ubuntu affords Gnome Terminal however now you’ve got put in the Terminator or Alacritty and need any of them set because the default one. In such circumstances, an inbuilt utility of our Linux system, referred to as
update-alternatives comes into play.
We will use this utility to change between the put in Terminal purposes on our system to make any of them the default one. It isn’t restricted to the Command line app, we are able to use it for browsers and different purposes as effectively. It’s as a result of this utility is liable for organising default purposes in Ubuntu or Debian.
Coming to the principle matter, learn how to use this utility? For that, open your system’s already put in Terminal. It may be any current one.
Command To set Default Linux Terminal
After that run the given command to alter and choose the default Ubuntu or Debian Terminal.
sudo update-alternatives --config x-terminal-emulator
As you run the above command, you’ll get the record of all current Terminal-emulators with a provision to pick any of them.
There are 7 selections for the choice x-terminal-emulator (offering /usr/bin/x-terminal-emulator). Choice Path Precedence Standing ------------------------------------------------------------ * 0 /usr/bin/terminator 50 auto mode 1 /usr/bin/alacritty 50 guide mode 2 /usr/bin/gnome-terminal.wrapper 40 guide mode 3 /usr/bin/koi8rxterm 20 guide mode 4 /usr/bin/lxterm 30 guide mode 5 /usr/bin/terminator 50 guide mode 6 /usr/bin/uxterm 20 guide mode 7 /usr/bin/xterm 20 guide mode Press to maintain the present selection[*], or sort the choice quantity:
What you must do, is first discover the “Choice” variety of the Terminal that you simply need to set because the default one. After that sort it and hit the Enter key. And you’re executed. For instance, to set Alacritty, we sort – 1 after which press the Enter key.
Examine whether or not you’ve got modified the default Shell or not
As soon as you’re executed with the earlier steps, it’s time to verify whether or not the default Terminal has been modified and set to the brand new one or not. For that, run the identical command once more however this time you will note the Asterik (*) in entrance of the Terminal you’ve got chosen. This reveals the adjustments are executed, efficiently.