OS X secondary click with trackpad

When it comes to trackpad I like to have both options enabled:
– secondary click with right corner
– secondary click with double finger tap at the trackpad

Preferences panel don’t give you both. You have to choose. Either this one or that one.

Execute following commands and you will get both at the same time:

defaults -currentHost write com.apple.trackpad.enableSecondaryClick -bool true
defaults -currentHost write com.apple.trackpad.trackpadCornerClickBehavior -int 1