Disabling Copy&Paste with the mouse wheel

Peter Hutterer peter.hutterer at who-t.net
Sun Oct 31 16:33:16 PDT 2010


On Fri, Oct 29, 2010 at 04:32:05PM +0200, Ewgenij Sokolovski wrote:
> > https://fedoraproject.org/wiki/Input_device_configuration
> > search for MatchIsPointer, you can use this one to add the ButtonMapping
> > option from above. ZAxisMapping isn't needed.
> 
> Hello! Thanks a lot!!! I added the section
> 
> Section "InputClass"
>     Identifier   "DisableWheelButton"
>     MatchIsPointer "on"
>     Option "ButtonMapping" "1 9 3 4 5"
> EndSection
> 
> at the beginning of my /etc/X11/xorg.conf and that solved the problem! You saved my day :)))

fwiw, you might as well map the button to 0 to really disable it.
right now it maps to button 9, which should be logical button 13.
 
Cheers,
  Peter



More information about the xorg mailing list