Terminal Here
Nautilus Scripts
Score 66%
Description:

Open a terminal with the currentdir of nautilus as workdir.
Don't need to select any file in the currentdir.
Last changelog:

9 years ago

fixed several bugs

Scaler

7 years ago

#!/bin/bash
gnome-terminal

Report

czaroli

8 years ago

in Ubuntu 9.10 fine work this:

/home/czaro/.gnome2/nautilus-scripts/Terminal_There

[ File Contents Therminal_There ]

#!/bin/sh
gnome-terminal --working-directory="$PWD"

Thx

Report

Epsilon1205

8 years ago

Great!

Report

Chief677

9 years ago

why not simply write:

#!/bin/sh
gnome-terminal --working-directory="$PWD"

It does exact the same thing :-)

Maybe I am wrong but it works and also with spaces and other special chars in the file path.

c,Ya

Report

jithu2k1

9 years ago

How about using the package nautilus-open-terminal? It is a script extension for nautilus. install it from synaptic and do "killall nautilus". the extension would be loaded in memory. It does exactly the same thing.

Report

skavoovee

10 years ago

Good, but where must I put the script or the files?
I put it in ~/.gnome2/nautilus-scripts, but when I select a file o dir, with right click, scripts/TerminalHere always open the term on ~/.gnome2/nautilus-scripts/terminalhere, what can I do?
This is de content of TerminalHere:
~/.gnome2/nautilus-scripts$ more TerminalHere
#!/bin/bash

#Open a terminal with the currentdir of nautilus as workdir.
#Don't need to select any file in the currentdir.
##########################################################################
# Nautilus "Terminal Here" Script #
##########################################################################
# #
# Created by Xinyu Du #
# Emails: glacier_05@yahoo.com.cn #
##########################################################################
wdir=echo ${NAUTILUS_SCRIPT_CURRENT_URI#file://}
gnome-terminal --working-directory=$wdir

Thanks

Report

C

00061205

10 years ago

I don't know why. I test it in my system but it work well. I think you should change the "wdir" to see wether it work as your path.(eg. wdir=/etc)

Report

C

00061205

10 years ago

use command "env" in terminal to see whether your system support the environment variable NAUTILUS_SCRIPT_CURRENT_URI.

Report

gema

10 years ago

for ubuntu users: sudo apt-get install nautilus-open-terminal

Report

C

00061205

10 years ago

by your method can't open a terminal with desktop dir as work dir.always ~

Report

angrykeyboarder

9 years ago

1) Right-click on desktop.

2) Select "Open Terminal Here"

3) Note cursor in terminal is @ ~/Desktop $

Report

ct1egh

9 years ago

Works fine on 8.04 LTS. Great script

Report

eilu

10 years ago

very convenient; I love it!

Report

9 years ago

fixed several bugs

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
2
updated Jun 01 2008
added Jan 09 2008
downloads today
0
page views today 0