Skip to content

[Linux] How to Change Default Terminal

Last Updated on 2022-08-15 by Clay

Many Linux distributions have their own terminal, more precisely, the desktop environment that comes with its own terminal.

But for users who are familiar with Linux, there must be a terminal that is the most suitable, appropriate, and the most experienced in configuration.

So, how do we change our default terminal? The process of replacing the terminal recorded below should be applicable to systems such as Xubuntu, Ubuntu, Gnome desktop environment, etc.


Changing method

Method 1: update-alternatives

You can use the command:

sudo update-alternatives --config x-terminal-emulator


Then the type of terminal that has been installed in your system should appear. Enter the index on the left to set the terminal as the default terminal of your current system.


Method 2: Edit dconf

you can directly use dconf-editor (with GUI interface) to change your settings; or you can use the following commands:

你可以直接使用 dconf-editor(有 GUI 介面)來更改你的設定;或是使用以下指令:

gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminator
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"



Method 3: Change with graphic interface

Go to Settings Manager > Preferred Applications > Utilities and you can see the settings.

However, according to the records on the Internet, this applies to desktop environments like Gnome, Cinnamon, KDE, etc. It is not guaranteed that all systems can be modified in this way.


Finally, if there are other ways to change it, please feel free to leave a message and let me know. I would also like to learn a few different methods.


References


Read More

Tags:

Leave a Reply