I tried to remove pasting on clicking middle mouse button, so I read this question How to change/remove paste on middle click?

But after doing command

xmodmap -e 'pointer = 1 25 3 4 5 6 7 8 9'

Middle mouse click stopped doing anything. How can I enable it?

And if you know, how can I disable pasting with it, but keep other functions?

1 Answer 1


I suggest resetting to the default settings for the pointer.

xmodmap -e 'pointer = default'

As demonstrated from xmodmap(1)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .