enable usb mouse copy and paste from console

Polytropon freebsd at edvax.de
Fri Sep 12 14:12:37 UTC 2008

On Fri, 12 Sep 2008 21:27:07 +0800, "ace wittman" <el.surenos at gmail.com> wrote:
> Hi i have a usb a4tech mini mouse, but i cant enable the copy paste
> from the console, below is my xorg.conf; please give some tips thanks
> Section "InputDevice"
>     Identifier	"Mouse1"
>     Driver	"mouse"
>     Option "Protocol"    "Auto"	# Auto detect
>     Option "Device"      "/dev/sysmouse"
>     Option "ZAxisMapping"   "4 5 6 7"
>     Option "Emulate3Buttons"
> EndSection

Your mouse is one with a wheel, right? YOu have set "Emulate3Buttons",
so you need to press the left and the right button at one in order
to emulate the pressing of the middle mouse button. You should be
able to press down the weel for the same purpose, just comment out
the "Emulate3Buttons" line. I don't have a xorg.conf at hand to
look how I did this, I'm using a standard three button mouse where
the middle key works as you intend it, and furthermore emulates the
wheel, much more healthy than a real mouse wheel. :-)

Maybe this section can help you:

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"              "auto"
        Option          "Device"                "/dev/sysmouse"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
        Option          "EmulateWheel"          "true"
        Option          "EmulateWheelButton"    "2"

Note that you won't need the last three lines, if I remember

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list