Re: Disable Middle mouse button?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux