![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2007
Beans: 19
|
Howto: Configure a double click on middle mouse button
This is a short guide on how to configure your mouse such that the middle button (scroll wheel) generates a double click.
Code:
"/usr/bin/xte 'mouseup 2' 'mouseclick 1' 'mouseclick 1' &" b:2
|
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2007
Beans: 19
|
Re: Howto: Configure a double click on middle mouse button
Some explanations:
xbindkeys is a tool which grabs keys and mouse events. xautomation includes the command-line tool xte which we use to send input to the kernel. Our configuration file specifies what we send (a double click) when the button is clicked. This seems to be the easiest solution at present. The former solution using btnx does no longer run in Ubuntu 8.x; and just editing xorg.conf does not seem to make the double click possible. (Please let us know if you have better solutions...!!) For a more extensive guide, check http://ubuntuforums.org/showthread.php?t=316441 (that's where this post is inspired from If you don't like this kind of command-line solutions, vote for the idea to enhance this here: http://brainstorm.ubuntu.com/idea/120/ Last edited by quadra; December 6th, 2008 at 02:07 PM.. Reason: fix urls |
|
|
|
| Bookmarks |
| Tags |
| double-click, mouse button 2, mouse buttons |
| Thread Tools | |
| Display Modes | |
|
|