Is there a way of choosing between right and middle click for pasting? There are ways of for disabling it, I want to change the behaviour

How do I disable middle mouse button click paste?


You can open a terminal and paste this so the right button will behave as the middle (and the middle will behave as the right):
xmodmap -e "pointer 1 3 2"

  • 2
    works with xmodmap -e "pointer = 1 3 2", thx I was actually after the paste functionality only, would be nice to keep the right click in place. – IljaBek Aug 13 '11 at 15:01
  • I will try to find a better solution for you ;-) – desgua Aug 13 '11 at 15:02
  • google suggests not much. for a touchpad the default middle-click-paste is a bug not a feature... – IljaBek Aug 13 '11 at 15:05

The solution involves you to download source code of gnome terminal and apply the patch and then you will need to build a package which will build deb packages and then you can just install from those packages.

For more clear instructions you can view this page.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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