Solved Cut-'n-paste dying on 10.2 machine

There has recently developed a state in my machine where cut and paste "stops" working. Initially, in applications I can CnP using Ctl-C (or X) and paste with Ctl-V. I can also copy by dragging the mouse while holding the right button and paste by pressing the right and left button simultaneously. This way works in and between application and console windows, in either direction.

After some period of time, or some unknown event, the paste by two buttons stops working, BUT I just discovered that I can paste by pressing the scroll wheel as a middle button. All I've done is re-start moused once.

I suppose the problem is solved with some muscle memory re-training, but what might be killing the two-button pasting? A re-boot will revive it until I do whatever it is that's killing it. Assuming the mouse is probed at boot-time as well as when I re-start moused. (I know, it's academic at this point.) uname-a for the interested:

Code:
FreeBSD blah 10.2-RELEASE-p6 FreeBSD 10.2-RELEASE-p6 #0: Mon Oct 26 17:04:45 MDT 2015  foo@bar:/usr/obj/usr/src/sys/GENERIC  amd64

and thanks,
s-a
 
It sounds like you used to have Emulate3Buttons on. Have a look in mousedrv(4).

Code:
       Option "Emulate3Buttons" "boolean"
              Enable/disable the emulation of the third (middle) mouse button
              for mice which only have two physical buttons.  The third button
              is emulated by pressing both buttons simultaneously.  Default:
              on, until a press of a physical button 3 is detected.  Property:
              "Mouse Middle Button Emulation"
 
Code:
Default: on, until a press of a physical button 3 is detected.

I believe this is the salient point. (I have no xorg.conf.) =8^)

Thanks!
s-a
 
Back
Top