This little python script monitors for two finger guestures from your synaptic touchpad. The guestures are limited to simple up, down, left, right, and (it will work if both your kernel as well as xorg is configured for it. You can check it by using synclient command line tool.).
The script expects the output of "synclient -m N" on its standard input , where N is your choice of refresh milliseconds, 10,20 works great, 100 if ur machine is slow. What I mean is this :
user@host$ synclient -m 20 | python syn_guesture_compiz.py
