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 />
In order to disable or reorder the gnome-terminal context menu, you should try editing the terminal.xml file located in /usr/share/gnome-terminal/ directory.
1) Make a backup of the terminal.xml file.
Open a Terminal window Ctrl+Alt+T and type:
cd /usr/share/gnome-terminal/
sudo cp -p terminal.xml terminal.xml.bak
2) Edit the terminal.xml file with your favorite editor. eg: nano
sudo nano -c /usr/share/gnome-terminal/terminal.xml
Regarding to your question you can comment the lines for the PopupNewTerminal PopupNewTab PopupCloseTab PopupCloseWindow menus. (Lines 88 to 93)
You can comment those lines with <!-- lines -->
symbols.
To save the changes in nano.. Ctrl+O,Enter then Ctrl+X.
Exit or Close the Terminal window and open it again to see the changes.
BEFORE:
AFTER:
This is just an example, you can comment, delete or change the order in the menus (put the PopupCopy and PopupPaste menus before the PopupNewTerminal) in the file.
Just in case... please remember you have a backup of the terminal.xml.
Hope this helps.
Best Answer
According to Gnome-Terminal's Manual, there's no such function. You can always use another terminal emulator such as xterm:
This one doesn't have any sort of context menu. I've heard that you used to be able to do Shift + Right click in gnome-terminal, but it doesn't work (anymore).