Linux – Right-clicking in the terminal opens new window… stop this

gnomelinuxterminalUbuntu

When in a terminal window, right-clicking often opens a new terminal rather than displaying the menu. (I'm not sure if this is because of where I click, or if I'm hitting another button, or something else — but it happens often, maybe 5 times a day.)

Is there a way to disable this behavior?

(I'm not sure what causes this, exactly… Metacity? GNOME? I don't think it's the shell itself.)

Best Answer

In gnome-terminal, if you right-click and hold, you'll see a context menu. The first item is Open Terminal. It is likely that you're moving the mouse a little and releasing the button thus selecting that option.

Edit:

You can edit the file at /usr/share/gnome-terminal/terminal.xml and rearrange the order of the items in the <popup name="Popup" action="Popup"> section. You could put Copy and Paste at the top swapping positions with Open Window and Open Tab.

Related Topic