To configure mouse settings from command line we can use an utility called "xinput". The manual for xinput defines it as a utility to list available input devices, query information about a device and change input device settings. i.e. xinput c
Read this post on vazhavandan.blogspot.com