[arch-general] disable fourth mouse button

Joan Rieu joan.rieu at gmail.com
Thu Aug 29 04:24:00 EDT 2013


2013/8/29 David Benfell <benfell at parts-unknown.org>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/28/2013 09:09 PM, David Benfell wrote:
> >
> > I use both chromium and firefox on an ongoing basis. I'd rather
> > just tell the driver to ignore the button.
> >
> I found xev. It identifies the button as 8.
>
> But it seems like the intent in the wiki entry is to enable rather
> than to disable a button.
>
> - --
> David Benfell / benfell at parts-unknown.org
> Please see https://parts-unknown.org/node/2 for GnuPG information (or
> the attachment you don't understand)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.21 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJSHtdjAAoJEKrN0Ha7pkCORMEP/RUQvhtCv0Ta7k3dQxFY+ErI
> EYHYsr381B+x3ep5cspkbuVYsiJSer8KdaZR7fSfDnsW4jMe1Yaxadtk/c1YHrCm
> gS5qeymWEPeQf4fRU8eArTL6D15UAd+tUwnN8ss8a9QfSgzl6zOXAb86lG/w+pi5
> J+jRrxwKiBnbYqbo+NtK/v5DBkN4uCMxSE/FJ2PONbCgGh3D1nZdyuFtQNvgPaA0
> kY/nwJgtSTwHzuTDmA2DZ1KKAgTE5HbrCvXBEkBRJuUBqlkA4SGl4VgHuRYCOnGs
> LH7SBH9fd1lQrSykp1Bc/4REdSndDnj1drtMdwh9kX6ImvmjwC+HAOarsmkx9giT
> /Ex3S78//0WvHaXqT26MC3ftVTZUuJZC7rjflNePIKeFIFbaEjFZ2esBmaiI9tuc
> QLAZiP3Vb4ttM2VpJ5nZ0WzcqU59lKkL945rRyX8eIpCBoMMpR8jQfMCrwDStkvT
> g0POoZm/0pIdruAewm+08lYhIXqyZE95B3AKAwqepjq88KXKKhIJaXyOP7CNvA6b
> LZwVLfHe4i19X5fs+SoHhjuxr5MfC5eQDK0x8fF4SIbY17XFsA/+PEvTrKnNzZgx
> mhBxYjDA1tCeYVJGNnxrpZTDegRilbQOWaXb1Z4UAx82IBso02iVw3Pm7IdffsPI
> HusCVpGQDCnSatkX481j
> =0EHB
> -----END PGP SIGNATURE-----
>

You can use the xinput command to edit the button map of your mouse.

For example, "xinput get-button-map 8" (8 being the id of my mouse, given
by "xinput") returns the standard list "1 2 3 4 5 6 7 8 9 10 11 12 13 14
15" but then I can enter, let's say "xinput set-button-map 8 1 2 0 4 5 6 7
8 9 10 11 12 13 14 15" and it will disable my right-click button, because
it's mapped to something that doesn't exist (0). You can of course also map
it to some other button if you want.


More information about the arch-general mailing list