In this short article, I will show you how to enable both the Edge Scrolling and the Two-Finger Scrolliong on Ubuntu 12.10.

The task can be done with the synclient tool:
Enable Vertical Edge Scrolling: synclient VertEdgeScroll=1
Enable Two Finger Scrolling: synclient VertTwoFingerScroll=1
Enable Horizontal Edge Scrolling: synclient HorizEdgeScroll=1
Enable Horizontal Two Finger Scrolling: synclient HorizTwoFingerScroll=1
Add this two code lines to ~/.bash_rc or ~/.bash_profile to make the settings persistent