I'm coming from a mac where I could simulate a right click by either holding two fingers on the mousepad and clicking OR holding down command and clicking.
On my XPS13 I'm finding that most times I try to right click I still left click instead. So rather than fight it, I'd like to just hit control and left click to bring up the right click action. Is such a thing possible? I know that you can generate a right click using xdotool click 3 but how to bind that to control + left click?
The software which makes this possible is called
mouseemu, search for "mouseemu" and install it.
su
apt-get install mouseemu
Mouseemu's default configuration file is stored in
/etc/default/mouseemu.
su
nano /etc/default/mouseemu
The file will open in nano.
This is the line which will make the correct right-click substitute:
#RIGHT_CLICK="-right 29 272″ # Left Ctrl + click
Uncomment both line by removing the # at the start of the line and save the file. Now, open the terminal, and restart the
mouseemu service:
su
/etc/init.d/mouseemu restart
Ctrl-click should start working immediately.
Weird, I tried that and it didn't seem to do anything. I had high hopes though. Is it possible there's a keybinding conflict with XFCE or something?
I'm just noting that I managed to solve this:
sudo apt-get install xdotool
sudo apt-get install xbindkeys
Next, create a .xbindkeysrc with this in it:
"xdotool click 3"
alt + b:1 + Release
You can exchange alt for a different modifier such as Control if you like. Props to this article (http://superuser.com/questions/217615/how-to-right-click-using-the-keyboard-from-ubuntu-on-a-mac) which helped me figure it out.