Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2008 16:12:34 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "ace wittman" <el.surenos@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: enable usb mouse copy and paste from console
Message-ID:  <20080912161234.8c7d667b.freebsd@edvax.de>
In-Reply-To: <5b66eac70809120627u1870aad3s5fa4cc26b77b9dd@mail.gmail.com>
References:  <5b66eac70809120627u1870aad3s5fa4cc26b77b9dd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Sep 2008 21:27:07 +0800, "ace wittman" <el.surenos@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"
EndSection

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


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080912161234.8c7d667b.freebsd>