Disable Synaptics Touchpad while typing

-- Older linux distributions (that don't use HAL)

1. Add the following section in /etc/X11/xorg.conf:

Section "InputDevice"

        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
        Option          "SHMConfig"             "on"
        Option          "MaxTapTime"            "0"


2. Restart the X-server

-- Ubuntu Jaunty and later

1. Create the file /etc/hal/fdi/policy/11-synaptics-options with the following content:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">

<match key="input.x11_driver" contains="synaptics">
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
<merge key="input.x11_options.MaxTapTime" type="string">0</merge>

2. Reboot