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?

  • 1
    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

|improve this answer|||||

This answer (along with @devav2 comment) helped a lot: https://askubuntu.com/a/97784/18140

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.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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