Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Something equivalent to Windows' "cmd prompt here", that will open a gnome-terminal on a specific folder?

share|improve this question

3 Answers 3

up vote 9 down vote accepted

There is a nautilus (gnome's file manager) extension for that:

http://packages.debian.org/sid/nautilus-open-terminal

That is the package for debian. You should look in the repository of your distribution for a similar package.

share|improve this answer
    
As described in the documentation, after installing this package you must reload nautilus by running killall -HUP nautilus or by logging out. –  Denilson Sá Feb 1 '12 at 1:51

If you are using Nautilus as your 'File Browser', it is as simple as a few entries in nautilus-actions GUI... Any 'actions' you create are available via a right-click of the mouse, and also via the Nautilus Toolbar if you wish (and I think also via the menu).

  • ..Command: gnome-terminal
  • Parameters: --window --maximize --working-directory=%d
  • and a couple of other equally easy options.

You can get Nautilus Actions* via the command: sudo apt-get install nautilus-actions

When you have installed it, run nautilus-actions-config-tool (to get started)

... and you can use Nautilus for much more than just this script...

share|improve this answer
    
Using nautilus-actions allows for the option to be used not only on folders but also on files (meaning "open a terminal on the folder where this file is"). –  MV. May 30 at 20:49

In the absense of an installed extension, you can drag the icon for a folder to Gnome Terminal or Konsole and it will expand to the single quoted path. First type cd followed by a space, then drag the icon over and press enter. And naturally, you can use this with other commands like mv, cp, etc. I think Konsole might actually pop-up with a menu asking whether you want just the path or the full cd command saving some typing.

share|improve this answer

Your Answer

 
discard

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.