Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have replaced my old iBook with a Asus laptop with Linux Mint. On that apple, to right click, you would press AppleKey (keyboard key) and click the mouse. Is there a way to enable similar behavior in Linux? The Asus laptop has a right click mouse key as well as pressing down with two fingers at the same time which my sister can always do correctly, but they only work correctly about 25% of the time for me.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

install xbindkeys and xdotool

sudo apt-get install xbindkeys xbindkeys-config xdotool

then run xbindkeys-config

and set your chosen key to run the following command

sleep .2 && xdotool click 3

You need to have a wait before xdotool clicks due to a bug in one of the programs.

share|improve this answer

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.