1/20/2023 0 Comments Middle mouse button windows 10Or I can turn the middle-mouse button into a left-mouse button by setting it to 1: $ xinput set-button-map 12 1 1 3ĮDIT: I just found an issue with the solution I've posted: in some programs ( gitk at least, not sure how common it is) this will prevent text selection from working. I can turn the middle mouse button off by setting it to 0: $ xinput set-button-map 12 1 0 3 They represent the left, middle, and right mouse buttons. Here only the first three numbers have meaning for me. So, I can view the my mouse button mapping like: $ xinput get-button-map 12 My Dell Usb mouse has printed here for which id=12 Virtual core XTEST keyboard id=5 ĭell KB216 Wired Keyboard id=10 ĭell KB216 Wired Keyboard id=11 Įee PC WMI hotkeys id=13 ⎜ PixArt Dell MS116 USB Optical Mouse id=12 Which prints something like ⎡ Virtual core pointer id=2 Fortunately it can be disabled.įirst, you need to know the id of the mouse, like this: $ xinput list | grep 'id=' This is a great feature, but you may find it irritating. Scrollwheel mice support a middle-button click event when pressing the scrollwheel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |