[arch-general] disable fourth mouse button
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, My mouse is great except for one thing. The fourth mouse button is entirely too easy to press by accident. Normally it doesn't do anything. But in a browser it can be disastrous. I would really like it to go away. Google isn't helping me. And the Arch Wiki mouse articles seem to be leading in a different direction. Can someone point me in the right direction? I use both chromium and firefox on an ongoing basis. I'd rather just tell the driver to ignore the button. Thanks! - -- David Benfell / benfell@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/ iQIcBAEBAgAGBQJSHsmEAAoJEKrN0Ha7pkCOR78QAIq79pKNEjkfs2itbR6WXGzX nkMVVqIbBGIfGlZoFKhYUUzGXiUc5YWELuFiFl44xMqkFkaWdjzRCaQhBDox46qV 4KQ1zF4tfJIwjDbfnLLx2gekpiNt2NTeuWR3NFJQH5u2mnlNuE2XVyTzzskVIYLA NIMpIRPATvKFvdt2yJFJH32M9liqHeBmTHiKmbRJtytMnsqXySNcjjnjsYsPnWJ7 wA8+lBUtWo0FN9m6AQI/fPty+6rtuQwxSS+zMLrFxGs2BfEz1y0YkblZjUR2wvZU f7LkKEFXaXt0v8Pq6eOYOsrZfqkve4PFze2EZNiHx0SvEkgmLp0oUm+Pk8ExlyCp pPXAKa4aKT5hW6jTZH3yymVR/bBDF+2rL3zhAKWzjcYoqyTXLjYPiRGbG1hXVUGO b3HHobcHf2lNYYnabAT5QKMavSHB4H3jVJH77gfFs+Tbm0SNwCfaO6B/v0cfV3wV 1SwavkheIf2m2I0MLq6D+v5fu3KRvd4HQuEJkn7dr+Fti9pkfVg23Q4fAbRDZ/q6 13Z0EDNyUN1g9VFZnRFEobW2sxr3Eczj4THClvjv3fUFbsaecTcwNdSUWqLQItF0 xgEoxBdD1n0bBr08cBUV401qIzlziyvSBMqlbQwseCaUXj/xMNX12tNFeqsqHSMb qMojMpk7P4ksQ/ZM4ieA =yRZs -----END PGP SIGNATURE-----
On Thu, Aug 29, 2013 at 12:09 PM, David Benfell <benfell@parts-unknown.org>wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
But in a browser it can be disastrous. I would really like it to go away. Google isn't helping me. And the Arch Wiki mouse articles seem to be leading in a different direction. Can someone point me in the right direction?
xinput set-button-map "xxxx" x x x x x
-----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@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-----
2013/8/29 David Benfell <benfell@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@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.
participants (3)
-
Auguste Pop
-
David Benfell
-
Joan Rieu