configuring a 3 button mouse.

Dan Nicholson dbn.lists at gmail.com
Mon Jun 7 13:08:10 PDT 2010


On Mon, Jun 7, 2010 at 12:54 PM, Geoffrey <lists at serioustechnology.com> wrote:
> Dan Nicholson wrote:
>>
>> On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey <lists at serioustechnology.com>
>> wrote:
>>>
>>> I recently upgraded my Mandriva install and now it appears that my 3
>>> button
>>> mouse is emulating a 2 button mouse as cut/paste only works when I select
>>> buttons 1 and 3, but not with button 2.
>>>
>>> The middle button is a wheel and scrolling does work with it, which leads
>>> to
>>> more confusion.
>>>
>>> This has always 'just worked' so it's been a while since I tried to
>>> configure this.  my xorg.conf looks right (to me):
>>>
>>> Section "InputDevice"
>>>   Identifier "Mouse1"
>>>   Driver "mouse"
>>>   Option "Protocol" "ExplorerPS/2"
>>>   Option "Device" "/dev/mouse"
>>>   Option "Emulate3Buttons"
>>>   Option "Emulate3Timeout" "50"
>>>   Option "EmulateWheel"
>>>   Option "EmulateWheelButton" "2"
>>> EndSection
>>>
>>> Any suggestions would be appreciated.
>>
>> Can you the log so we can see what's going on? My guess is the device
>> isn't using the mouse driver like you think it is.
>
> I think you're onto something.  I see this:
>
> (==) The core pointer device wasn't specified explicitly in the layout.
>        Using the first mouse device.
>
> I've attached both my xorg.conf and the log for further insights.
>
> --
> Until later, Geoffrey
>
> "I predict future happiness for America if they can prevent
> the government from wasting the labors of the people under
> the pretense of taking care of them."
> - Thomas Jefferson
>
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 1.0  (buildmeister at builder58)  Wed Dec  9
> 16:34:26 PST 2009
>
> # Xorg configuration created by pyxf86config
>
> Section "ServerLayout"
>    Identifier     "Default Layout"
>    Screen      0  "Screen0" 0 0
>    InputDevice    "Mouse0" "CorePointer"
>    InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "InputDevice"
>
>    # generated from default
>    Identifier     "Mouse0"
>    Driver         "mouse"
>    Option         "Protocol" "auto"
>    Option         "Device" "/dev/input/mice"
>    Option         "Emulate3Buttons" "no"
>    Option         "ZAxisMapping" "4 5"
> EndSection

It looks like it's using the right settings, but now you have
"Emulate3Buttons" "no". From your log:

(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

Perhaps you should change that to "Emulate3Buttons" "yes"?

--
Dan



More information about the xorg mailing list