Right click in ML limiting

Discussion in 'OS X Mountain Lion (10.8)' started by vistadude, Jul 29, 2013.

  1. macrumors 65816

    Jan 3, 2010
    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
  2. macrumors 68020


    Mar 6, 2013
    Charlotte, NC
    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.
  3. thread starter macrumors 65816

    Jan 3, 2010
    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.
  4. satcomer, Jul 31, 2013
    Last edited: Aug 1, 2013

    macrumors 601


    Feb 19, 2008
    The Finger Lakes Region
    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.
  5. macrumors 68020

    Jun 15, 2012
    # 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.

Share This Page