Skip to content

Commit d00e5fc

Browse files
authored
Add Keyboard Shortcut for Open in Terminal (#3686)
1 parent 4e01cdd commit d00e5fc

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

gresources/nemo-shortcuts.ui

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@
122122
<property name="accelerator">&lt;Primary&gt;&lt;alt&gt;O</property>
123123
</object>
124124
</child>
125+
<child>
126+
<object class="GtkShortcutsShortcut">
127+
<property name="visible">True</property>
128+
<property name="title" translatable="yes" context="shortcut window">Open in Terminal</property>
129+
<property name="accelerator">&lt;shift&gt;F4</property>
130+
</object>
131+
</child>
125132

126133
</object>
127134
</child>

src/nemo-view.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8246,7 +8246,7 @@ static const GtkActionEntry directory_view_entries[] = {
82468246
/* tooltip */ N_("Open each selected item in a new tab"),
82478247
G_CALLBACK (action_open_new_tab_callback) },
82488248
/* name, stock id */ { NEMO_ACTION_OPEN_IN_TERMINAL, "xsi-utilities-terminal-symbolic",
8249-
/* label, accelerator */ N_("Open in Terminal"), "",
8249+
/* label, accelerator */ N_("Open in Terminal"), "<shift>F4",
82508250
/* tooltip */ N_("Open terminal in the selected folder"),
82518251
G_CALLBACK (action_open_in_terminal_callback) },
82528252
/* name, stock id */ { NEMO_ACTION_OPEN_AS_ROOT, "xsi-dialog-password-symbolic",

0 commit comments

Comments
 (0)