Disable Thinkpad mouse buttons

Daniel Wayne Armstrong daniel-HRJVlgn2G/y5aS82P/H3Zg at public.gmane.org
Wed Oct 10 04:51:49 UTC 2012


On Tue, Oct 9, 2012 at 1:59 PM, Lennart Sorensen
<lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
>> I came across this HOWTO -
>> http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint - that
>> provided this snippet of code to disable the middle-button:
>>
>> xmodmap -e "pointer = 1 9 3 4 5 6 7 8 2"
>>
>> ... and it indeed works and disables the middle mouse button (no idea
>> what that series of numbers signify or what it is doing, though).
>
> It assigns button one to work as button 1, button 2 to work as button 9
> (usually does nothing), button 3 to work as button 3, etc.
>
>> How can I disable the left- and right-click mouse buttons? Thanks for any help.
>
> Well I suspect the result (unless you can convince X that the buttons
> for the touch pad are different than the buttons for the trackpoint)
> will be to disable all left and right buttons on the system.
>
> If you can manage to apply a map to a specific input device rather than
> to the system overall, then you should be able to do something about them.

Thanks Lennart ... When I visit him next week I will do a bit of experimenting.

-- 
         www.circuidipity.com :: twitter.com/circuidipity
  .~.  /
  /V\
 //  \\
/(    )\
 ^`~`^
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list