A terminal emulator is an application used to run bash commands, work with files, communicate with other computers, perform administrative tasks and configurations, etc., all in textual form. It uses the command line so Unix users from all shades can enjoy it. It gives you the feel of the genuine physical emulator that comes with a dedicated keyboard and a monitor. You can choose to install multiple emulator terminals on Ubuntu and use whichever you like.
Ubuntu also allows you to set the default terminal emulator according to your need and choice. In this tutorial, we will learn how to do that.
We will run the commands mentioned below in Ubuntu 18.04 LTS (Bionic Beaver).
Open the default terminal emulator on your Ubuntu by pressing Ctrl+Alt+T.
The default terminal on our machine is the Gnome Terminal.
Change Terminal Emulator from Gnome Terminal to Xterm
Run the following command:
$ sudo update-alternatives --config x-terminal-emulator
Tip: You can also copy this command from the tutorial by selecting and copying it through Ctrl+C and then pasting it in the Terminal by right-clicking at the cursor location, and then clicking Paste from the menu.
Changing the terminal emulator requires you to be a superuser. Enter the password and press enter.
The output will display the available terminal emulators on your system. Remember that the output can vary on your system depending on the alternatives you have installed.
Enter the number associated with your choice from the available list and click enter.
We are entering selection number 5 that corresponds to xterm, the new default terminal emulator we want to set. The following output will confirm the changes we have made:
Now when you press Ctrl+Alt+T (or type x-terminal-emulator in your already open terminal emulator) , your new terminal emulator will open as your default choice. In our case we will see the xterm terminal emulator open as follows:
You can now use this new terminal emulator as your default choice. We have seen that in Ubuntu, this process is as easy as running a single command.