Skip to content

Instantly share code, notes, and snippets.

@AlbertVeli
Created March 14, 2020 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlbertVeli/71ab96ea95f07ec8bef865b189bdff0a to your computer and use it in GitHub Desktop.
Save AlbertVeli/71ab96ea95f07ec8bef865b189bdff0a to your computer and use it in GitHub Desktop.
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 97a2200f..ac734bae 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -347,7 +347,7 @@ static GQuark tabs_menu_action_quark = 0;
static const GtkActionEntry action_entries[] =
{
{ "file-menu", NULL, N_ ("_File"), NULL, NULL, NULL, },
- { "new-tab", "tab-new", N_ ("Open _Tab"), "<control><shift>t", N_ ("Open a new terminal tab"), G_CALLBACK (terminal_window_action_new_tab), },
+ { "new-tab", "tab-new", N_ ("Open _Tab"), "<control>t", N_ ("Open a new terminal tab"), G_CALLBACK (terminal_window_action_new_tab), },
{ "new-window", "window-new", N_ ("Open T_erminal"), "<control><shift>n", N_ ("Open a new terminal window"), G_CALLBACK (terminal_window_action_new_window), },
{ "undo-close-tab", "document-revert", N_ ("_Undo Close Tab"), NULL, NULL, G_CALLBACK (terminal_window_action_undo_close_tab), },
{ "detach-tab", NULL, N_ ("_Detach Tab"), "<control><shift>d", NULL, G_CALLBACK (terminal_window_action_detach_tab), },
@@ -355,11 +355,11 @@ static const GtkActionEntry action_entries[] =
{ "close-other-tabs", "edit-clear", N_ ("Close Other Ta_bs"), NULL, NULL, G_CALLBACK (terminal_window_action_close_other_tabs), },
{ "close-window", "application-exit", N_ ("Close _Window"), "<control><shift>q", NULL, G_CALLBACK (terminal_window_action_close_window), },
{ "edit-menu", NULL, N_ ("_Edit"), NULL, NULL, NULL, },
- { "copy", "edit-copy", N_ ("_Copy"), "<control><shift>c", N_ ("Copy to clipboard"), G_CALLBACK (terminal_window_action_copy), },
+ { "copy", "edit-copy", N_ ("_Copy"), "<control>c", N_ ("Copy to clipboard"), G_CALLBACK (terminal_window_action_copy), },
#if VTE_CHECK_VERSION (0, 49, 2)
{ "copy-html", "edit-copy", N_ ("Copy as _HTML"), NULL, N_ ("Copy to clipboard as HTML"), G_CALLBACK (terminal_window_action_copy_html), },
#endif
- { "paste", "edit-paste", N_ ("_Paste"), "<control><shift>v", N_ ("Paste from clipboard"), G_CALLBACK (terminal_window_action_paste), },
+ { "paste", "edit-paste", N_ ("_Paste"), "<control>v", N_ ("Paste from clipboard"), G_CALLBACK (terminal_window_action_paste), },
{ "paste-selection", NULL, N_ ("Paste _Selection"), NULL, NULL, G_CALLBACK (terminal_window_action_paste_selection), },
{ "select-all", "edit-select-all", N_ ("Select _All"), "<control><shift>a", NULL, G_CALLBACK (terminal_window_action_select_all), },
{ "copy-input", NULL, N_ ("Copy _Input To All Tabs..."), NULL, NULL, G_CALLBACK (terminal_window_action_copy_input), },
@MUWASEC
Copy link

MUWASEC commented Mar 27, 2020

hi, is this method still work on new xfce4-terminal version at arch linux ?
i saw your thread on https://forum.xfce.org/viewtopic.php?pid=57190#p57190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment