LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Intellimouse AND Side Buttons, HOW TO- Alternate (https://www.linuxquestions.org/questions/linux-hardware-18/intellimouse-and-side-buttons-how-to-alternate-73781/)

Caoster 07-18-2003 04:53 AM

Intellimouse AND Side Buttons, HOW TO- Alternate
 
Substantial Thanks to Aussie for the lead, and myself for about 2 hours of tweaking with XEV.

For some reason, the regular suggestion from others had not worked. The imwheelrc was not mapping the correct buttons to the correct files.

If you wish to use your side buttons to go foward and back in your browser history, the following configuration worked for me.

I have an Intellimous Explorer USB v3.0 hooked up via my PS/2 port.


First you need to set up your mouse in XFree86 (version 4.1.0 is what I use), this is my pointer section,

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"


Then you need to do "xmodmap -e "pointer 1236745".

I have added the following lines to my .xinitrc file to make this run when i start x.

xmodmap -e "pointer = 1 2 3 6 7 4 5"


Once you have verified that your wheel works you can test to see if the extra buttons are seen by X with "xev" (place the pointer in the square and click the buttons to see the events).
Next you need to download and install imwheel (1.0.0pre1) and create .imwheelrc in your home directory with the following,

Thanks to Aussie for the tip above.

#code begin:
".*"
None, Left, Alt_L|Left
None, Right, Alt_L|Right
#code end:

Next start imwheel with imwheel -k -b "67" I use another line in
~/.xinitrc for this.,

code:
#!/bin/sh
imwheel -k -b "67"


This works in Mozilla Firebird .6. Note that the major difference seems to be that I keysyming on buttons left and right, instead of up and down.


All times are GMT -5. The time now is 01:53 AM.