Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This was easy in Thunar, but now I'm on a machine where I'm trying to do everything in the Gnome desktop world.

In Nautilus, I'm in some deep-down folder. How do I open an xterm (rxvt, aterm, gnome's terminal app, whichever) with its working directory already set to the location Nautilus is showing?

share|improve this question
up vote 4 down vote accepted

There is a very useful Nautilus extension called nautilus-open-terminal that does just what you asked. You should find it in the standard repositories.

Once installed you should have a "Open in terminal" entry in the File menu.

share|improve this answer
Added it using Synaptic. Still don't see any "open terminal here" or similar command. – DarenW Mar 6 '11 at 22:48
@DarenW: sorry, I forgot to specify, it adds an entry in the File menu. – nico Mar 6 '11 at 22:56
You will also need to restart nautilus. – Kim Mar 7 '11 at 2:54
@Kim: ah, now it works! It took me a long time to realize that the whole desktop is really a view in Nautilus, so I had log out and back in. I see what I want in File and also the right-click menu. :) – DarenW Mar 7 '11 at 3:22
@DarenW: another way to do it, without restarting would have been killall nautilus. This would have killed all the instances of nautilus, which then should have restarted automagically ;) – nico Mar 7 '11 at 6:56

A more general feature that works with both Dolphin/Nautilus and some Terminals like Gnome Terminal or Konsole is to just drag a folder over the terminal. This will give you a quoted path to the folder. You can use this after a cd command or other commands like cp, mv, ln, or whatever you might want.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.