PDA

View Full Version : Right click in ML limiting




vistadude
Jul 29, 2013, 04:31 PM
In snow leopard, you could set your trackpad to "right click" by either tapping the trackpad lightly with two fingers, or clicking the bottom right corner of the trackpad.

In mountain lion, it seems like you can only choose one of the options, but not both. I did a little searching and found this terminal command for lion to enable both, but not sure this works in mountain lion or how to reverse it if something goes wrong. Does anyone know how to get both right clicking methods working at the same time?


defaults -currentHost write -g com.apple.trackpad.enableSecondaryClick -bool YES



crjackson2134
Jul 30, 2013, 11:20 AM
defaults -currentHost write -g com.apple.trackpad.enableSecondaryClick -bool YES

Make a backup copy of that file, then issue the terminal command. No harm done...

I think it'll work, but if it doesn't you have the backup copy of the file to revert to.

Good luck.

vistadude
Jul 31, 2013, 02:27 AM
How do I find that file in finder?

I'm too used to the windows world, where terminal commands start out with c:\..... and gives the full address.

satcomer
Jul 31, 2013, 09:04 AM
How do I find that file in finder?

I'm too used to the windows world, where terminal commands start out with c:\..... and gives the full address.

Your not on Windows when using a Mac! :rolleyes:

This is a /Applications/Utilities/Terminal command. You can open Terminal and use the same command string vistadude said (copy and paste the command):
defaults -currentHost write -g com.apple.trackpad.enableSecondaryClick -bool YES

So just copy/paste this command in Terminal and it will stick.

benwiggy
Aug 1, 2013, 02:52 AM
I did a little searching and found this terminal command for lion to enable both, but not sure this works in mountain lion or how to reverse it if something goes wrong.

# Read the current value of the parameter, if any.
defaults -currentHost read -g com.apple.trackpad.enableSecondaryClick

# Write a new value
defaults -currentHost write -g com.apple.trackpad.enableSecondaryClick -bool YES

# Delete the parameter altogether
defaults -currentHost write -g com.apple.trackpad.enableSecondaryClick -bool YES
For most purposes, -currentHost isn't usually necessary.