Suppose you are exploring some directories through Ubuntu's default Nautilus file browser when suddenly there arises a requirement to work in a particular directory on the command line. What would you do in this case?

Well, normally, you would open the terminal application, and then manually change the present working directory to the directory you want to work in, and then proceed with the work. But do you know there's a way through which you can make this process a lot easier and less time consuming?

In this article, we will discuss how you can add an 'Open in Terminal' option to Nautilus' context (or right-click menu) on Ubuntu 14.04LTS.

Add 'Open in Terminal' option to Nautilus' context menu

Doing this isn't difficult at all. The only thing you have to do is to install the nautilus-open-terminal package on your machine, something which you can do using the following command:

sudo apt-get install nautilus-open-terminal

Once the aforementioned command is successful, you'll have to restart Nautilus. For this, first quit the file manager using the following command:

nautilus -q

And then start it by clicking the Files icon in the Unity Launcher.

That's it. Now, right-click on any directory, and you'll see the 'Open in Terminal' option will be there:

open-in-terminal-option

Click it, and a terminal will open up, having that directory as its current working directory.

open-in-terminal-working

Note: This option is available by default in the Nautilus file browser in Ubuntu 16.04LTS.

How to add ‘Open in Terminal’ option to Nautilus’ right-click menu in Ubuntu

One thought on “How to add ‘Open in Terminal’ option to Nautilus’ right-click menu in Ubuntu

  • Permalink

    Note: This option is available by default in the Nautilus file browser in Ubuntu 16.04LTS.
    This comment is wrong .
    It is only available on some types of files and not on others.
    This is the reason I am here as I am using 16.04 LTS and trying
    to get Arduino IDE loaded , but it doesn’t have “Open in Terminal”
    in the contextual menu to load Install.sh .
    Thank you for the information on how to add it though .
    RESULT -: Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package nautilus-open-terminal is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    gnome-terminal:i386 gnome-terminal
    poppiesgdd.

    Reply

Leave a Reply

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

*

Ad #native_company# — #native_desc# #native_cta#