How do I disable the right click when pressing the right side of my trackpad?

I'm trying to figure out how to disable the right hand side of my trackpad in Ubuntu. The default behavoir is for the right hand side to right click. However, I would like a single click anywhere on the pad to act as a single click, while having a two finger press behave as a right click.

I also have a sony vaio T-series SVT13122CXS and am running 12.10.

Thanks for any help.


Solution 1:

This did it for me: http://kernpanik.com/geekstuff/2015/01/12/disable-rightclick-synaptics.html

For me this disabled the right hand side click area without disabling two finger "right-click".

Essentially, run this:

synclient RightButtonAreaLeft=0
synclient RightButtonAreaTop=0

To persist, add a script that does this into "Startup Applications".

Solution 2:

This is what I did: (13 is where my synaptics device was)--I set left, center, and right to left-click, but did not disable scrolling.

xinput set-button-map 13 1 1 1 4 5 6 7 8 9