Solution 1:

Installing the x86-input-mtrack driver makes the trackpad on my 2012 MacBook Air (Ubuntu 14.04) just as usable as under OS X. It supports resting the thumb/palm on the trackpad while using it, and 3/4-finger swipe gestures.