PDA

View Full Version : 5 button mouse


pcbsdusr
08-13-2005, 12:51 PM
I am using a logitech X 310 usb optical mouse and only the two default buttons + scroll are enabled. i use the two side buttons for internet navigation all the time and find the lack of this functionality very annoying... Can someone help here?

08-13-2005, 09:34 PM
Google for Xmodmap:
http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=Xmodmap+button-mouse&btnG=Search

On my system I had to create a file named .Xmodmap.:0.0 in my home dir.

Good luck!

pcbsdusr
08-14-2005, 08:22 AM
Thanks! Im am going to have a look into this.

But this is one of those things hardware detection must take care of. who will want to use PCBSD if only 3 button mice are detected by default?

More work for you here Kris! :D


Cheers!

RF

pcbsdusr
09-14-2005, 01:19 PM
Step by step for anyone who wants to know how from:

http://lists.freebsd.org/pipermail/free ... 23751.html (http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023751.html)

Instructions:

edit XF86Config put in
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"

in ~/.imwheelrc put:
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right


and last of all in .xinitrc, put:
imwheel -p -b "67" &
xmodmap -e "pointer = 1 2 3 6 7 4 5"