I have a Logitech M560 mouse, but I do not know how to map the middle button to pasting, as is default in my other mouse.
I ran 'xev' and clicked the middle button in the white box. The output includes 'button 1'. So, I want to map button 1 to the 'paste selection' as clicking the right and left mouse buttons simultaneously does with my mouse now.
/etc/X11/xorg.conf
file? You say that middle click pasting does work with another mouse of yours? – terdon Apr 16 '14 at 08:18xev
info. You need to runxev
and then middle click in the white window. Your output will include the button number, it will be something likeButtonPress event
, blah blah,state 0x2010, button 2, same_screen YES
we need to know which button the middle click is reported as just in case the issue is a wrong button reported. – terdon Apr 16 '14 at 22:34xinput list device_name
being device name the one that identifies itself as pointer when you only runxinput
, like this http://paste.ubuntu.com/7272164/ – Braiam Apr 18 '14 at 01:33