I think I can give you the answer
Open a terminal, then type:
echo "options psmouse proto=exps" | sudo tee /etc/modprobe.d/psmouse.conf
Enter your password when prompted and then press Enter.
Now, while your right mouse click should be working after a reboot, you can try doing it without a reboot, but it might crash your desktop. It didn't for me, so here it is, type in the same terminal as root:
sudo modprobe -r psmouse; sudo modprobe psmouse
hope that helps!
edit: ok, so now that the right button works, the touchpad section of the mouse settings disappeared, and so did my custom settings and the multitouch capability, which resulted in a slow mouse pointer and no ability to scroll. I think I'll write a bug report on this one.
edit2: I searched through the web, and apparently, there is some obscure way to fix this problem, but it relies on ressources and patches that aren't available so easily anymore. I fixed this problem for me by upgrading to quantal quetzal, which includes adequate (albeit not great) support for multitouch clickpads by default
I had the same issue, but I found the solution.
After you switch to left handed button (in preferences > mouse) you must execute this in the terminal to map the touchpad taps correctly
manolo@manolo-TravelMate-5720:~$ synclient TapButton1=3
manolo@manolo-TravelMate-5720:~$ synclient TapButton2=1
Now just program those lines to execute this every time Lubuntu starts.
Best Answer
I use a KVM switcher box and so I have the same issue every time I switch since upgrading.
At the moment I have this quick and dirty script. Run it in a terminal as the logged in user;
Hope to get something better but should be useful for now.
For completeness, it's worth noting that you can also use the mouse settings UI tool, and change the primary button to right handed and then back to left handed.
UPDATE/EDIT BELOW
I now have a more convenient solution that is automated for each kvm switch, but it's still a hacky/dirty solution, and I run a script after login...
Customise the following for your vendor id and product id, based on output of
lsusb
. Where the hex number with a colon in the middle is the {idvendor}:{idproduct} for your mouse. Also, as flipjacob adds, customise "Mouse" string in the grep statement to your match what you get fromxinput
.Create a file (as root)
/etc/udev/rules.d/80-force-left-handed-mouse-on-plugin-event.rules
with the following contentsCreate the script that it will run (as root)
/root/notify-mouse-plugged.sh
.And finally create the script to pick up the 'notification' in the context of the logged in user. I run this after logging in in a terminal and leave it running there.
Listener script
$HOME/listen-for-mouse-plugged.sh
.It fires the listener loop 3 times for me, but that is of little consequence for something I hope to throw away soon.