Re-mapping the middlemouse paste functionality

Glynn Clements glynn at gclements.plus.com
Fri Jan 29 10:40:38 PST 2010


Adrian Sud wrote:

> I am trying to reconfigure the middle mouse button paste buffer command to
> another one of the 7 available buttons on my mouse, but leave the 2nd mouse
> button reporting itself as a 2nd mouse button.
> 
> Any googling and browsing of FAQs finds ways to disable the 2nd mouse button
> entirely, or map the 2nd mouse button to another button (causing all other
> functions tied to the 2nd mouse button to move to that other button as
> well). Am I to assume that this is not a configurable thing?
> 
> This may be the wrong place to ask; I am assuming X controls this
> middle-click paste buffer access because X is historically the controller of
> pointer devices.

X controls which button code is reported when you press a particular
physical button. The application (or, more likely, the toolkit which
it uses) decides what happens when it receives a particular key or
button event.

-- 
Glynn Clements <glynn at gclements.plus.com>



More information about the xorg mailing list