Public bug reported:
I use the following script to swap right-click and middle-click buttons:
# swap middle and right button
MY_MOUSE_ID=$(xinput list | grep Mouse | sed -r 's/.*id=([0-9]+).*/\1/')
xinput --set-button-map ${MY_MOUSE_ID} 1 3 2
It can work, but after a while (about 30min-1h), the buttons
automatically swap back so I have to execute the commands again...
I'm using Ubuntu 13.10 (with xinput 1.6.0-1). It's a USB optical mouse.
$ uname -a
Linux xfq-Inspiron-5437 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/version_signature
Ubuntu 3.11.0-12.19-generic 3.11.3
** Affects: xinput (Ubuntu)
Importance: Undecided
Status: New
** Patch added: lsusb-v
https://bugs.launchpad.net/bugs/1247534/+attachment/3898983/+files/lsusb-v
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1247534
Title:
Problems about swapping mouse buttons
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xinput/+bug/1247534/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs