Created
          November 16, 2009 17:03 
        
      - 
      
- 
        Save rzwitserloot/236138 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| #Sets mouse tracking speed on Mac OS X; capable of faster speeds than the selection dialog. | |
| #Unfortunately, you will have to log out and back in again for changes to propagate. | |
| #My tracking speed is at 4.8. | |
| if [ "$1" == "" ]; then | |
| echo Sets the tracking speed of the mouse. "3.0" is the fastest setting in the mouse settings pane. | |
| echo Your current tracking speed is: `defaults read -g com.apple.mouse.scaling` | |
| exit 0 | |
| fi | |
| defaults write -g com.apple.mouse.scaling $1 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment