Ubuntu to Mac: Ctrl+Click ---> Right Click

I finally convinced my wife to put Ubuntu on her Macbook. Unfortunately, she strongly prefers the Mac approach to right clicking: Ctrl+Button1. I have the trackpad set up to do a two finger touch = right-click, but she isn't having it.

Can anyone please, please, PLEASE help me figure this out. I've seen this question posted before, with no answers.

I also saw the mouseemu approach mentioned here, but it doesn't seem to work.

I also thought about using the built in System Preferences>Keyboard>Shortcuts>Custom Shortcut, but it doesn't allow a "left click."

I also thought about using CCSM and xdotool, but couldn't figure out how to get two xdotool (xdotool xdotool key super+l; xdootool click 1)options to turn into one (xdotool click 3). (Note: I switched the Ctrl key and the super/mac command key to make it more mac-like, hence the super+l).

If you have a workable solution -- please respond. A Mac to Ubuntu conversion is at stake!

[Ubuntu 15.10; MacbookPro 9,2]


Solution 1:

sudo nano /usr/share/X11/xorg.conf.d/50-synaptics.conf 

Under the section "Input Class" edit the options for TapButton so you have

Section "InputClass"

        Option          "TapButton1" "1"
        Option          "TapButton2" "3"
        Option          "TapButton3" "2"

This will enable right click and tap to click.

Solution 2:

Both given answers didn't work for me. What worked for me was:

synclient RightButtonAreaLeft=1

Put it in some file that is run at startup (e.g. .bash, .zsh)

Source: https://bugs.launchpad.net/ubuntu/+bug/861694