Click Here for the full article.

Implement swipe and pinch gestures for Linux applications by analyzing tools and code needed to add some of this new gesture support on older Linux-enabled hardware. Building on the output of the synclient program, the Perl code presented here allows you to assign specific application functions to "Three-Finger Swipe," as well as Open- and Close-Pinch gestures. Demonstration video at youtube Comments on digg (gone). Writeup at hackszine (yep, also gone) and

Original link at IBM developerworks. Please use the cached copy if the link is dead.