Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I have a laptop that has a trackpad for the mouse. I'm not using all the multi-touch capabilities of the trackpad and am currently only able to get left click working. Is there any way to setup Win+Click as right click? This would be kind of like Command+Click on Apple machines.

share|improve this question
up vote 2 down vote accepted

Let's do it!

1) Install xdotool

sudo aptitude install xdotool

2) Install Compiz

sudo aptitude install compizconfig-settings-manager

3) Open Compiz


4) Go to Commands then to "Commands" tab and add this to "Command line 0"
sleep 0.1 && xdotool click --clearmodifiers 3

5) Assign Super + Button1 at "Button Bindings" tab

And you're done.

share|improve this answer
Awesome, thank you so much for putting the time into this! :) – Ryan Lanciaux Apr 12 '11 at 0:31
Glad to find stuff like this ;-) – desgua Apr 12 '11 at 1:05

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.