Month: June 2013
Because I like to do a lot of things by the command line, I often need to open a terminal window, which is nice and fast using the keyboard shortcut:
That opens the terminal window with the current working directory set to my Home folder. Usually this is fine, if you’re going to be doing something that doesn’t care what your current folder is, like running top. but if you want to do something quickly at the CLI in the folder that you have just browsed to in Nautilus, you have to manually CD to that folder in the terminal window before you can start to work there.
What would be really nice would be the ability to right-click on a folder (or on the background of the file window) in Nautilus and to be able to select an ‘Open a Terminal Window Here’ option from the context menu.
This shows you how to do just that. First of all, open a terminal window with Ctrl+Alt+T, and type the following:
sudo apt-get install nautilus-open-terminal
Once that has finished installing, close all Nautilus windows and then force a reset of Nautilus:
Now ehen you right-click on a folder or in the background of the file window, you’ll see a context menu with an entry that says ‘Open in Terminal’. Selecting that option will open a terminal window with the current working directory set to the location you clicked on. Perfect.
Note that the context menus are slightly different depending where in Nautilus you clicked.