Re-mapping the middlemouse paste functionality

Barry Scott barry.scott at onelan.co.uk
Fri Jan 29 10:13:45 PST 2010


On 29/01/10 15:58, Adrian Sud wrote:
> Hi,
>
> 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.
>    
The apps control the behaviour not X11.
The apps place the data into one of X's clipboards and paste
from it when you click the button.
> If it is not configurable yet, but is part of X11, let me know and I will
> try to find where in the source the paste-buffer access is, and see if I can
> modify it to add configurability.
>    
I think you need to find out how to change the apps you use to use
another button.

Barry




More information about the xorg mailing list