Disable mouse acceleration on Mac OS X

The most annoying thing I encounter when occasionnaly working on a Mac is the mouse acceleration. I found a command line that will disable it but you need to relog after executing it: defaults write -g com.apple.mouse.scaling -1 Note: Don’t touch the mouse settings in Preferences or it will override the above change.