Open a terminal from nautilus
Sometimes you use nautilus to browse among directories. When you locate the file you want to work with, you’d like to open a terminal in the current directory. How to do that?
sudo apt-get install nautilus-open-terminal nautilus -q # for restarting nautilus
Now, if you right click in nautilus, you’ll have a new menu item called “Open in Terminal”.
This tip is from here.