I often copy text into the terminal, for instance from a website or for a particularly difficult to spell filename, when I right-click the terminal to paste things however one of two thins will happen: the menu will appear or a new terminal will open.

How can I prevent the latter behavior?


This is due to the fact that even if you might not notice it, your click becomes a double click, because sometimes we don't press the button firmly enough. So the first click opens the menu, and the second one opens the first item on it, which is "open new terminal", even if you don't get to see the menu because it's too fast.

You could try to adjust the variable multiClickTime to, lets say, 800 milliseconds:

echo "*multiClickTime: 800" >> $HOME/.Xresources

This basically ignores any click unless it's been at least 800 milliseconds since the last one (almost a second). You can lower the value if you think is too long.

Hope it helps.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.