Middle button for pasting, with LR buttons.


cosurgi

http://janek.kozicki.pl/
Joined
Jul 30, 2008
Messages
1,098
Location
Gdansk, Poland
Website
janek.kozicki.pl
in .pndXmodmap



Code:
keycode 62 = Pointer_Button1 NoSymbol Pointer_Button1

keycode 105 = Pointer_Button3 NoSymbol Pointer_Button3



use http://urjaman.dyndns.info/xkbset in autostart with:



Code:
#!/bin/sh

xkbset m

xkbset exp =m


Ok, following this advice: http://www.gp32x.de/board/index.php?/topic/55124-remapping-the-mouse-buttons-etc/page__view__findpost__p__896576


I got LR working as mouse buttons. Now if only I could get the L+R (pressed simultaneously) to work as a middle button. Any ideas?
 
Last edited by a moderator:
I got LR working as mouse buttons. Now if only I could get the L+R (pressed simultaneously) to work as a middle button. Any ideas?
Is the "xkbset exp =m" working for you? For me, it's ignored. The mouse setting still expire after a few minutes and I have to manually enable mouse emulation to have the shoulders as mouse buttons. Slightly annoying.
 
Last edited by a moderator:
I got LR working as mouse buttons. Now if only I could get the L+R (pressed simultaneously) to work as a middle button. Any ideas?
Is the "xkbset exp =m" working for you? For me, it's ignored. The mouse setting still expire after a few minutes and I have to manually enable mouse emulation to have the shoulders as mouse buttons. Slightly annoying.
I think it works. more than 10 minutes of actual use, total uptime 31 minutes, and they still work. But the middle button is really missing....
 
Do you really have to change config files to support this? Shouldn't the WM have an option for this? I remember in ununtu there was an option to make l-r clicks be middle button
 
Dang, I hope someone gets this working, I use middle mouse click for pasting exclusively on my Linux box now, never use Ctrl_C + Ctrl_V anymore, much easier to highlight mid click.
 
Back
Top