Disable Middle mouse button?

Steffen Kluge kluge at fujitsu.com.au
Tue Jun 7 05:28:40 UTC 2005


On Tue, 2005-06-07 at 01:00 -0400, Tony Nelson wrote:
> I've since put everything back and I'm back where I started.

If you want to retain scrolling, but disable middle-button clicking, you
could just map button 2 (middle) out of the way.

If you use xmodmap -pp without any re-mappings in place you probably get
something like:

        There are 7 pointer buttons defined.
        
            Physical        Button
             Button          Code
                1              1
                2              2
                3              3
                4              4
                5              5
                6              6
                7              7
        

Swapping button 2 with button 7 (which is unused) should disable
middle-click: xmodmap -e "pointer = 1 7 3 4 5 6 2" while retaining wheel
functionality. If you're happy with this you can put it into the X init
file of your choice.

Cheers
Steffen.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050607/6c6f2987/attachment-0002.bin 


More information about the users mailing list