Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On Mac OS X, you can right click by holding down control and clicking. I swapped the command and control keys with setxkbmap -option altwin:ctrl_win, but how do I make it right click by holding down control and clicking? I am on a Powerbook G4 with Debian XFCE.

UPDATE:

Chris Down's answer requires you to press control and click at exactly the same time. On Mac you can hold down control and click.

share|improve this question

1 Answer 1

Bear in mind that some things may not work as you expect after doing this (for example, Firefox and other browsers use this for their "open in new tab" functionality).

First, you'll need to install xbindkeys via your package manager, then do the following:

xbindkeys –defaults > ~/.xbindkeysrc
cat >> ~/.xbindkeysrc << 'EOF'
"xvkbd -text '\m3'"
mod4 + b:1 (mouse)
EOF
xbindkeys -n -v

To have this functionality every time you start your DE, add xbindkeys -n -v to your startup programs.

share|improve this answer
    
Thanks, but this requires you to press control and click at exactly the same time. On Mac you can hold down control and click. –  gadgetmo Dec 31 '11 at 10:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.