Right i have done some more fiddling and come up with something that works for me. im not entirely sure why it works and the guides fail... but it does
I left my xorg.conf reading as follows:
I then installed the imwheel package.Code:Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "Buttons" "7" Option "ZAxisMapping" "4 5" Option "Resolution" "100" EndSection
The guides all talk about issuing the follwing command at startup (in the /etc/X11/Xsession.d/57xmodmap file)
this command swaps the button codes for buttons 45 with 67 and vice versa. (i guessCode:xmodmap -e "pointer = 1 2 3 6 7 4 5" &)
This didnt work for me as i got the following error upon execution:
xorg.conf only specifies 7 buttons so im not sure where the extra 4 are coming from!!?Code:chris@res05-cib3:~$ xmodmap: commandline:1: bad number of buttons, must have 11 instead of 7
anyway i decided i wouldnt remap any buttons so i issued
from looking at the imwheel manpage the -b switch can also be used to remap buttons and this was being used in the command that i had from the guides:Code:xmodmap -e "pointer = default" &
my button mappings however seemed to match those on the imwheel man page, namely:Code:imwheel -k -b "67" &
4 wheel up
5 wheel down
6 wheel right (doesnt exist on my mouse)
7 wheel left (doesnt exist on my mouse)
8 thumb 1
9 thumb 2
and so i removed the -b switch from the imwheel command and everything worked!
i now have no /etc/X11/Xsession.d/57xmodmap file as i am using the default mappings and i am calling imwheel with only the -k switch.
just thought i'd post this in case someone else is having similar trouble.
my mouse is an IntelliMouse Optical 1.1A USB
My imwheelrc simply reads the following (for back/forward operation in firefox)
Code:".*Mozilla Firefox$" None,Thumb1,Alt_L|Left None,thumb2,Alt_L|Right



Adv Reply



MS gonna get ya


Bookmarks