Categories: ShellUbuntu

How to set the Gnome Default Terminal Emulator on Ubuntu 18.04 LTS

A terminal emulator is an application that is used to execute Bash commands, work with files, communicate with other computers, perform administrative tasks and configurations, etc., all in text form. It uses the command line so that Unix users of all shades can enjoy it. It gives you the feeling of a real physical emulator equipped with a keyboard and monitor. You can install and use multiple emulator terminals on Ubuntu.

Ubuntu also allows you to set the standard terminal emulator according to your needs and wishes. In this tutorial, we will learn how to do this.

We will execute the commands below in Ubuntu 18.04 LTS (Bionic Beaver).

Open the default terminal emulator on your Ubuntu by pressing Ctrl+Alt+T.

The standard 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.

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Recent Posts

How to Install Magento 2 on AlmaLinux

Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…

1 year ago

How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04

ISPConfig is an open-source control panel that allows users to manage multiple servers from a…

1 year ago

How to Test your Email Server (SMTP) Using the Telnet Command

As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…

1 year ago

Managing Network Interfaces and Settings on Ubuntu 24.04 with nmcli

Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…

2 years ago

Using Restic Backup on Ubuntu 24.04

Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…

2 years ago

Installing phpMyAdmin on Rocky Linux 9 and Securing it with Let’s Encrypt SSL

phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…

2 years ago