On Tue, 23 Jul 2013 15:42:07 +0100 Chris Green cl@isbd.net wrote:
On Tue, Jul 23, 2013 at 03:29:59PM +0100, Chris Walker wrote:
I do have xte and I have just created a default .xbindkeysrc file. That has this in it :- # specify a mouse button "xterm" control + b:2
Is that likely to interfere with my requirements?
I don't think so.
I also created a .Xmodmap file using the command 'xmodmap -pke > ~/.Xmodmap' and haven't changed that.
Should be OK.
To avoid confusion, I reset the 90-evoluent.conf file back to the defaults of 1 2 3 4 etc but nothing seems to change. I still don't get a double click on anything (I rebooted for good measure).
Yes, I avoid the Xorg configuration stuff as far as possible now as it gets overwritten every time you update and isn't supposed to be necessary at all.
I've just modified the 90-evoluent.conf file to map button 8 to be right click, button 3 on my mouse, and button 3 to be button 13. I then modified the .xbindkeysrc file to modify button 13. I still don't get any action from the middle button (the one I desire to be a double click) but I do at least now get a right click on the 'correct' mouse button. So I'm making progress even if I haven't *yet* fixed the double click problem.
Your .xbindkeysrc and .Xmodmap should get run at login so should affect everything in the X GUI, mine certainly seem to.
OK.
If you've copied my .xbindkeysrc your mouse will have to have buttons 8 and 9, these are the double and triple click ones. (It's a 5 button trackball, conventional buttons 1, 2 and 3 plus two extra buttons which are buttons 8 and 9)
You can see what my mouse looks like here - http://denishaine.wordpress.com/2011/12/01/evoluent-mouse-with-ubuntu-11-04-...
Use xev to find what events your button clicks are generating, that should help you progress.
Done that. That confirms that buttons 8 and 9 (prior to my mods described above) are being pressed.
Thanks for your help. I feel I am making progress and will continue to hack stuff around until it works ;-)