Opening a terminal window in the current Nautilus directory
Jan Morén
jan.moren at lucs.lu.se
Sun Oct 31 13:07:44 UTC 2004
There is no way by default, but it is easy to make a script that does
this. Cut and paste the following into a file called, say,
Open-terminal:
#!/bin/sh
cd $NAUTILUS_SCRIPT_CURRENT_URI
gnome-terminal
Place this file in ~/.gnome2/nautilus-scripts, then make it executable
(chmod a+x Open-terminal). Now, when you right-click in a nautilus
window, you should have a submenu "Script", with your "Open-terminal" as
the first choice. Choose it, and you get a terminal window corresponding
to that folder.
sön 2004-10-31 klockan 07:42 -0500 skrev Steve Zatz:
> 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?
>
--
Trust the Computer. The Computer is your friend.
Tel. (Japan) 090-3622 8920 Dr. Jan Morén (mr)
Dept. of Cognitive Science
http://lucs.lu.se/people/jan.moren Lund, Sweden
More information about the ubuntu-users
mailing list