Extra mouse buttons
Ok, so I have a mouse with extra buttons. And as you can guess I wanted to use them to go back and forward in a browser and such. Here is the configuration I have whipped up. At current I have a Microsoft IntelliMouse Optical. But I assume this will work with most mice.
First you will need to edit the /etc/X11/XF86Config-4 file.
Section “InputDevice”
Identifier “Default Mouse”
Driver “mouse”
Option “CorePointer”
Option “Protocol” “ExplorerPS/2″
Option “Device” “/dev/input/mice”
Option “Buttons” “7″
Option “ZAxisMapping” “6 7″
EndSection
Now you will need to edit your .imwheelrc file.
“.*”
None, Left, Alt_L|Left
None, Right, Alt_L|Right
You can edit this file to do whatever you would like the extra buttons to do. This configuration will make just about every program go back or forward. Which is what Alt and the left arrow would do. Next, you will need to run the following lines.
xmodmap -e “pointer = 1 2 3 6 7 4 5″
imwheel -b 0067
You will need to run this basically every time you log in or you can put it in your startup files. I run gdm so I added the lines to my session file. This is actually a lot simpler to set up the I thought it would be.
July 15th, 2010 at 3:24 pm
Buy:SleepWell.Zetia.Aricept.Prozac.Lipothin.Seroquel.Female Pink Viagra.Ventolin.Buspar.Acomplia.Benicar.Nymphomax.Lipitor.Cozaar.Zocor.Advair.Lasix.Wellbutrin SR.Female Cialis.Amoxicillin….
July 21st, 2010 at 4:15 am
Buy:Tramadol.Viagra Professional.Viagra Super Force.Viagra Super Active+.Cialis Super Active+.Super Active ED Pack.Cialis.Zithromax.VPXL.Cialis Professional.Levitra.Maxaman.Cialis Soft Tabs.Soma.Viagra Soft Tabs.Propecia.Viagra….