Possible to customize Terminal context (right-click) menu?
First things first: I don't know if it is per-user configurable.
But a workaround is possible thanks to the easy to edit XML files, which describe the user interface. On Ubuntu 12.10, in the file /usr/share/gnome-terminal/terminal.xml
simply move the line <menuitem action="PopupCopy" />
to the top below <popup name="Popup" action="Popup">
. Or to be semantically consistent:
diff --git a/terminal.xml b/terminal.xml
index 3c9cbed..f7b7757 100644
--- a/terminal.xml
+++ b/terminal.xml
@@ -78,6 +78,10 @@
</menubar>
<popup name="Popup" action="Popup">
+ <menuitem action="PopupCopy" />
+ <menuitem action="PopupPaste" />
+ <menuitem action="PopupPasteURIPaths" />
+ <separator />
<menuitem action="PopupSendEmail" />
<menuitem action="PopupCopyEmailAddress" />
<menuitem action="PopupCall" />
@@ -91,10 +95,6 @@
<menuitem action="PopupCloseTab" />
<menuitem action="PopupCloseWindow" />
<separator />
- <menuitem action="PopupCopy" />
- <menuitem action="PopupPaste" />
- <menuitem action="PopupPasteURIPaths" />
- <separator />
<menu action="PopupTerminalProfiles">
<placeholder name="ProfilesPH" />
<separator />