PDA

View Full Version : mouse middle button mouse paste no longer works in FC14


rjflory
4th January 2011, 10:47 PM
I just upgraded to FC14 (64) from FC13 (32) and the mouse middle button (simultaneous left+right button) paste function has stopped working. I tested it with 3 makes/models of different mice and trackballs.

For some reason (left+right) mouse returns the same code as the single right-button ('xev' value = 3).

This worked in all previous FC and RH distros I've used in the past.

Did a default setting get zonked somewhere?

System: Toshiba laptop w/ USB mouse.

DBelton
5th January 2011, 01:05 AM
yes.. it does that now if you only have a 2 button mouse, and want it to emulate a 3 button mouse.

As specified in the Fedora 14 release notes:



3.5.2. Mouse Behavior
The latest version of evdev, version 2.5, changed the default for the middle mouse button emulation code. This change has disabled emulation of the middle mouse button by clicking the left and right mouse buttons.
3.5.2.1. Enabling the middle mouse button emulation
Middle mouse button emulation can be enabled by the addition of a xorg.conf snippet:

Section "InputClass"
Identifier "middle button emulation class"
MatchIsPointer "on"
Option "Emulate3Buttons" "on"
EndSection



easiest way would be to take that little snippet of code, and save it in /etc/X11/xorg.conf.d/99-mouse-midbuttonemulation.conf

and of course, you will need to restart X for the changes to take effect :D