Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My notebook has a touchpad with two buttons.

enter image description here

The touchpad works pretty well and I use it for vertical/horizontal scroll, two fingers scrolling etc. The Left button acts like the left button of a mouse. The Right button too, when clicked it makes appear the classic contextual menu (create new folder, move to trash etc...).

The problem is that Right button doesn't work anymore for mechanical reasons, so pressing it has no effect.

To recover the missing functionality, I'd like that pressing CTRL + Left button I get the same thing of pressing the Right button alone. Other combinations (CTRL + SHIFT + Left button) are also acceptable.

Any way to do that?

share|improve this question
Not sure whether you can achieve this using Left button & Ctrl combination. But the workaround is to use "Shift+F10" or install xdotool and stimulate the behavior by using command xdotool click 3 and assign it to some key combination. – devav2 Nov 5 '12 at 10:05

You can use easystroke, which is a gesture recognition application.

You can specify a particular gesture and bind it to an action.

Easystroke Ubuntu

share|improve this answer
up vote 0 down vote accepted

This answer (along with @devav2 comment) helped a lot:

In my case the content of $HOME/.xbindkeysrc is:

"xdotool click --clearmodifiers 3"
  Control + b:1 + Release

It does exactly what I was looking for and works pretty well.

share|improve this answer

Your Answer


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.