Software & AppsOperating SystemLinux

How To Set Terminator as the Default Terminal Emulator for Nautilus in Ubuntu

Ubuntu 16

In this article, we will guide you through the process of setting Terminator as the default terminal emulator for Nautilus in Ubuntu. The steps provided here are detailed and designed to be as helpful as possible.

Quick Answer

To set Terminator as the default terminal emulator for Nautilus in Ubuntu, you can either remove gnome-terminal and create a symbolic link to Terminator, use the Nautilus-Actions Configuration Tool to add a custom action, or use dconf-tools to configure the default terminal.

Introduction

Terminator is an advanced and powerful terminal emulator that provides many features that the default Gnome terminal does not offer. For example, it allows users to split their terminals both horizontally and vertically, which can be very useful for multitasking.

Nautilus, on the other hand, is the default file manager for the GNOME desktop environment. It’s used to navigate directories and manage files. By default, Nautilus uses the Gnome terminal emulator. However, if you prefer using Terminator, you can set it as the default terminal emulator for Nautilus.

Prerequisites

Before we begin, make sure you have Terminator installed on your Ubuntu system. If not, you can install it by running the following command in your terminal:

sudo apt-get install terminator

Setting Terminator as the Default Terminal Emulator

Solution 1: Removing gnome-terminal and Creating a Symbolic Link

The first solution involves removing the gnome-terminal and creating a symbolic link to Terminator.

  1. Removing gnome-terminal: Run the following command to remove the gnome-terminal.
sudo apt-get remove gnome-terminal
  1. Creating a symbolic link: After removing the gnome-terminal, create a symbolic link between Terminator and gnome-terminal. This can be done by running the following command:
sudo ln -s /usr/bin/terminator /usr/bin/gnome-terminal

In this command, ln -s is used to create a symbolic link, /usr/bin/terminator is the path to the Terminator, and /usr/bin/gnome-terminal is the path where the symbolic link will be created.

Solution 2: Using Nautilus-Actions Configuration Tool

The second solution involves using the Nautilus-Actions Configuration Tool. This tool allows you to add custom actions to the context menu of Nautilus.

  1. Installing nautilus-actions: Run the following command to install nautilus-actions.
sudo apt-get install nautilus-actions
  1. Launching the Nautilus-Actions Configuration Tool: You can launch the tool either from the Dash or by running the following command:
nautilus-actions-config-tool
  1. Creating a new action: In the Action tab, give your action a label (e.g., “Open in Terminator”) and choose to display it in the selection or context menu.
  2. Defining the command: Open the Command tab and enter the full path to Terminator (/usr/bin/terminator) and any program options you want to use (e.g., --working-directory=%d/%b to open the current path in Terminator).
  3. Restarting Nautilus: Log out and log back in, or restart Nautilus with the command nautilus -q, to see the new right-click context menu option.

Solution 3: Using dconf-tools

The third solution involves using dconf-tools to configure the default terminal.

  1. Installing dconf-tools: Run the following command to install dconf-tools.
sudo apt-get install dconf-tools
  1. Configuring the default terminal: Use gsettings to configure the default terminal by running the following commands:
gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminator
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"

In these commands, gsettings set is used to change a setting, org.gnome.desktop.default-applications.terminal exec is the setting for the default terminal, and /usr/bin/terminator is the value we want to set.

Conclusion

We have discussed three different ways to set Terminator as the default terminal emulator for Nautilus in Ubuntu. Depending on your preference and the Ubuntu version you are using, you may choose any of these methods. Remember to be careful when running commands as a superuser, and always ensure you understand what the commands do before executing them. Happy computing!

What is Terminator?

Terminator is an advanced and powerful terminal emulator for Ubuntu that offers features such as splitting terminals horizontally and vertically, making it easier for users to multitask.

How can I install Terminator on Ubuntu?

You can install Terminator on Ubuntu by running the command sudo apt-get install terminator in the terminal.

Can I use Terminator as the default terminal emulator for Nautilus?

Yes, you can set Terminator as the default terminal emulator for Nautilus by following the steps mentioned in this article.

What are the alternative solutions for setting Terminator as the default terminal emulator?

There are three alternative solutions mentioned in this article: removing gnome-terminal and creating a symbolic link, using the Nautilus-Actions Configuration Tool, or using dconf-tools to configure the default terminal.

Is it safe to run the provided commands?

Yes, the commands provided in this article are safe to run. However, it is always recommended to double-check the commands and understand what they do before executing them.

Leave a Comment

Your email address will not be published. Required fields are marked *