how to set the mouse speed very low on ubuntu

http://patrickmylund.com/blog/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/


Here is a solution related to a Logitech mouse. Simply add the following lines to .profile:

logitech=$(xinput --list --short | grep -m1 "Logitech USB Receiver" | cut -f2 | cut -d= -f2)

xinput --set-prop "$logitech" "Device Accel Constant Deceleration" 4