Thursday, August 16, 2012

disable mouse middle key in linux

Run the following command:

xmodmap -e "pointer = 1 25 3 4 5 6 7 8 9"

OR  run
gedit ~/.Xmodmap
and add the following
pointer = 1 25 3 4 5 6 7 8 9
to the file
This works on my Ubuntu 12.04.

 
REF:http://jaredrobinson.com/blog/howto-disable-middle-mouse-paste-in-linux/

No comments: