First you follow this guide
www.linux-gamers.net. Then you install
xkindkeys. Then you install
mvmouse. Then you put a file called .xbindkeysrc containing the code-snippet below in your home-directory.
Code:
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:2
"~/./my_double_click.sh && ~/./my_double_click.sh &"
b:6
You have to check which button is the thum- and wheelbutton. On my mouse it's button No. 2 and 6. Then you create a file called my_double_click.sh and put the following line in it:
Code:
mvmouse +0 +0 1 && mvmouse +0 +0 1 &
It looks as if it will produce 4 clicks but it doesn't. You have to chmod the shell-script to give it execution-rights. my_double_click.sh should also be placed in your home-directory. Then you restart your X server using the ctrl-alt-backspace keys. And that's it!
/Lars