Opening a terminal window in the current Nautilus directory

Ben Roe ben_ubuntu at benroe.com
Sun Oct 31 13:00:49 UTC 2004


Steve Zatz wrote:
> This is a real newbie question but I don't see a way to open a
> terminal window where the working directory is the same directory that
> a Nautilus window is currently open to.  To be as clear as possible,
> when I am pretty deep in the file system with Nautilus I only see how
> to open a terminal window in my home directory and then I have to cd
> to the directory that I am trying to get to.  Is there a better way?
> 

Put this script in ~/.gnome2/nautilus-scripts, called something like 
"Open terminal here" and do chmod +x on it. It will then appear as an 
option in the context menu in Nautilus:


#!/bin/bash
#
cd -
/usr/bin/X11/xterm
done
exit0


Ben




More information about the ubuntu-users mailing list