Re: disable middle mouse button?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 10, 2016 at 5:20 PM, Tom Horsley <horsley1953@xxxxxxxxx> wrote:
> On Sun, 10 Apr 2016 17:09:49 -0600
> Chris Murphy wrote:
>
>> Is there a way to disable the middle button?
>
> You could use xinput --set-button-map to remap it
> to some other button which has no default binding and
> therefore wouldn't do anything.

OOH awesome!

--set-button-map device map_button_1 [map_button_2 [...]]
               Change  the button mapping of device. The buttons are
specified in physical order (starting with button 1) and are mapped
               to the logical button provided. 0 disables a button.
The default button mapping for a device is 1 2 3 4 5 6 etc.

Looks like '--set-button-map 13 1 0' did the trick but I don't know
why. That entry was a mistake, I should have done 13 2 0. But left
most position works, middle does nothing, right still is contextual
menu. Hmm.

$ xinput --list-props 13
Device 'Mouses':
    Device Enabled (142):    1
    Coordinate Transformation Matrix (144):    1.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Calibration Matrix (506):    1.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Calibration Matrix Default (507):    1.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Accel Speed (280):    -1.000000
    libinput Accel Speed Default (281):    0.000000
    libinput Accel Profiles Available (508):    1, 1
    libinput Accel Profile Enabled (509):    1, 0
    libinput Accel Profile Enabled Default (510):    1, 0
    libinput Natural Scrolling Enabled (282):    0
    libinput Natural Scrolling Enabled Default (283):    0
    libinput Send Events Modes Available (260):    1, 0
    libinput Send Events Mode Enabled (261):    0, 0
    libinput Send Events Mode Enabled Default (262):    0, 0
    libinput Left Handed Enabled (284):    0
    libinput Left Handed Enabled Default (285):    0
    libinput Scroll Methods Available (286):    0, 0, 1
    libinput Scroll Method Enabled (287):    0, 0, 0
    libinput Scroll Method Enabled Default (288):    0, 0, 0
    libinput Button Scrolling Button (511):    2
    libinput Button Scrolling Button Default (512):    274
    libinput Middle Emulation Enabled (513):    0
    libinput Middle Emulation Enabled Default (514):    0
    Device Node (263):    "/dev/input/event7"
    Device Product ID (264):    1452, 781
    libinput Drag Lock Buttons (294):    <no items>
    libinput Horizonal Scroll Enabled (265):    1




>
> Or you could hurl the Apple mouse into a bottomless
> pit somewhere and get a less annoying mouse :-).

That's cute, but equally cute is that it doesn't behave this way on
either Windows or OS X. I didn't even know it had a middle sensing
area until now. I haven't tried it with KDE yet so I'm not sure if
it's better there.


-- 
Chris Murphy
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux