Quantcast
Channel: How to Right Click Using the Keyboard from Ubuntu on a Mac - Super User
Viewing all articles
Browse latest Browse all 4

How to Right Click Using the Keyboard from Ubuntu on a Mac

$
0
0

I'm running Ubuntu on a Macbook Pro. How do you right-click using the keyboard in this setup? I've read that holding down the command key simulates pressing the "context menu" button on a Windows machine, but this behavior doesn't seem to be present in Ubuntu. I also don't see any way to configure this in Ubuntu's keyboard shortcut preferences dialog. Is there anyway else to do it?

Following JJ Stiff's answer, I tried installing xbindkeys and adding to my ~/.xbindkeysrc:

"sleep .05 && xdotool click 3"  m:0x50 + c:134

Running xbindkeys -k and pressing the right command key reported that the code for the right command key is m:0x50 + c:134, thus the entry above.

However, when running xbindkeys -v, pressing the right command key still has no effect.


Viewing all articles
Browse latest Browse all 4

Trending Articles