Command Prompt Here: Windows developers are familiar with the tiny utility "Command Prompt Here" which allows them to open the command prompt from the windows explorer, with the working directory set to the current directory selected in the windows explorer. This PowerToy adds an "Open Command Window Here" context menu option on file system folders, giving you a quick way to open a command window (cmd.exe) pointing at the selected folder.
Open Gnome-Terminal Here
Linux and Gnome are open source software which allows great deal of options for users, to control and customize it as per their needs. Nautilus is the default file manager for Gnome, and it allows easy customization of the user interface.
Open Gnome-Terminal Here will adds an "Open Gnome-Terminal Here" context menu option on file system folders, giving you a quick way to open a gnome-terminal pointing at the selected folder. It will open gnome-terminal with the working directory set to the current directory selected in nautilus.
Installation
You need to install the Nautilus actions. Nautilus actions is an extension for Nautilus, the gnome file manager. It allow to configure program to be launch on files selected into Nautilus interface. Each time you right-click on one or several selected files in nautilus, nautilus-actions will look at its configured actions to see if a program has been setup for this selection. If it is the case, it will add an item in the menu that allow you to execute the program on the selected files.
sudo apt-get install nautilus-actions
You can also install the Nautilus actions using the Synaptic Package Manager.
Adding a new Item
Run the Nautilus actions from the System » Preferences » Nautilus Actions Configuration and add a new action item to the Nautilus context menu.
Set the Label as: "Open Gnome-Terminal Here" for the Nautilus menu item, also give the Path as: "gnome-terminal" and Parameters as: "--working-directory=%d/%f". The parameters for the gnome-terminal can be check in the man pages for the gnome-terminal. %d is the base directory and %f is the folder name of the selected folder in the Nautilus file manager.
Nautilus actions has a lot of parameter condition legends, so that you have fine control over the Nautilus context menu customization.
In the Conditions tab, for the "Appear if selection contains", select the "Only folders" checkbox.
The result
Now navigate to some folder in the Nautilus file manager and Right click on any folder, or in the free space in the Nautilus file manager, and you will see the new menu item: "Open Gnome-Terminal Here". When you choose that menu item, the gnome-terminal will be launched with the working directory set to the current selected folder in the Nautilus file manager.
Alternatives
The same functionality can be achieved using nautilus-open-terminal package:
sudo apt-get install nautilus-open-terminal
or using the Custom Scripts with Nautilus and Right-Click to Launch Custom Scripts with Nautilus.




