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


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


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

  • 1
    As described in the documentation, after installing this package you must reload nautilus by running killall -HUP nautilus or by logging out. – Denilson Sá Maia Feb 1 '12 at 1:51
  • When I installed this in CentOS 6.5 yum install nautilus-open-terminal I have there two options - "Open in Terminal" and "Open in Midnight Commander" (mc was installed before) - amazing! – Betlista Oct 3 '14 at 12:45

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...

  • 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 '14 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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