Open Terminal Shortcut

Hi,

Is there a way to specify a shortcut to open a terminal in the current directory in nautilus?

1 Like

Open in Terminal menu item comes from gnome-terminal as a nautilus extension. Refer gnome-terminal/src/terminal-nautilus.cc#L520-573. So, this needs to be added in gnome-terminal.

Open in Console comes from nautilus, and a keyboard shortcut can be added as below.

--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -9956,6 +9956,7 @@ nautilus_files_view_init (NautilusFilesView *view)
     ADD_SHORTCUT_FOR_ACTION (priv->shortcuts, "view.new-folder", "<control><shift>n");
     ADD_SHORTCUT_FOR_ACTION (priv->shortcuts, "view.select-pattern", "<control>s");
     ADD_SHORTCUT_FOR_ACTION (priv->shortcuts, "view.zoom-standard", "<control>0|<control>KP_0");
+    ADD_SHORTCUT_FOR_ACTION (priv->shortcuts, "view.current-directory-console", "<control><shift>c");
 #undef ADD_SHORTCUT_FOR_ACTION
 
     /* This one should have been a keybinding, because it should trigger only

Well, That would mean to handle every nautilus update myself.
Why wasn’t it provided by default?

I think it would be handy to have a shortcut. Submitted following MR.

1 Like

Good!
This is a must for a keyboard-centric desktop as Gnome.