Skip to content

Instantly share code, notes, and snippets.

@xpe
Last active March 19, 2018 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xpe/21defa465af2fc827eaf3481f5fb7939 to your computer and use it in GitHub Desktop.
Save xpe/21defa465af2fc827eaf3481f5fb7939 to your computer and use it in GitHub Desktop.
Changing the default terminal in Gnome (Ubuntu 17.10)

I'm running Ubuntu 17.10.

After I installed Terminator, it became the default terminal in Gnome.

I would like to switch back to the default terminal.

First, I checked:

gsettings get org.gnome.desktop.default-applications.terminal exec

Which returned:

'x-terminal-emulator'

Therefore, I needed to make the change with update-alternatives:

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

This prompts the user to pick from:

There are 2 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).

  Selection    Path                             Priority   Status
------------------------------------------------------------
* 0            /usr/bin/terminator               50        auto mode
  1            /usr/bin/gnome-terminal.wrapper   40        manual mode
  2            /usr/bin/terminator               50        manual mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment