Configure Accessbility settings using Terminal instead of Preferences Panel

accessibilitysystem-prefs

I have a problem with my MacBookPro, the left click button on (any) mouse doesnt work and the trackpad doesnt respond to any clicks, so the only thing that works properly is the keyboard and Mouse Right Click/Middle Click.

I was looking at the Accessibility preferences and can see there is something call Enable Mouse Keys, does this option allow you to effect a left-mouse click with a keyboard combination, I also Speakable Items. Both would make my life easier until computer fixed, but unfortunately without a working mouse there seems to be no way of selecting these items.

Is there a way I can set these values from the commandline, because mouse right-click and middle-click work I can open a Terminal Window and enter commands from there.

Best Answer

Try this:

$ defaults write com.apple.universalaccess mouseDriver 1

Also you can always access Spotlight by typing Command+Spacebar (unless you've changed the default keyboard shortcut for that). From there if you type trackpad you should be able to get to your trackpad preferences.