If your touchpad supports the Synaptics driver (the one on my Toshiba 5105-s607 does), you can set this in your xorg.conf:
Code:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 1600 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
InputDevice "Mouse0" "CorePointer"
EndSection
.
.
.
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "no"
Option "ShmConfig" "on"
Option "MaxTapTime" "0"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
Option "HorizScrollDelta" "0"
EndSection
I also disable the tap buttons above to prevent accidentally clicking on something when my palm hovers over the touchpad while typing, and the horizontal scroll which can be annoying. For more information on the function, 'man synaptics'.