Imwheel is a tool which adds the support for the special buttons of your mouse like Logitech MX500. I tell you now how to configure it with imwheel.
Install imwheel:
If evdev isn't installed install it:
Now get the infos about evdev:
You'll get something like this:
Zitat |
|
I: Bus=0003 Vendor=046d Product=c025 Version=9802
N: Name="B16_b_02 USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:02.0-9/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1
B: EV=7
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=103
|
N: will be the name of the device
S: the device
B: EV is the buttons count
This value is sended by the mouse wheel. The scrollbuttons of the Logitech MX510 send this signals to. For the "Logitech MX500" the Option "ZAxisMapping 6 7" must be instead of "ZAxisMapping 4 5". If you can push your mousewheel also to the left and right change the value to "ZAxisMapping" "4 5 6 7".
Edit your /etc/X11/xorg.conf with the needed options:
Code | [In neuem Fenster öffnen] |
|
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "ImPS/2"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5"
#EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "CorePointer"
Option "Name" "B16_b_02 USB-PS/2 Optical Mouse"
# Option "Device" "/dev/input/event1"
Option "ZAxisMapping" "4 5"
Option "Buttons" "7"
Option "Resolution" "800"
EndSection |
Use always the
NAME instead of the event! The event can change. Example: connecting the mouse on a different usb-port or during a kernel update.
Now restart the X-Server to check if all works. Do this by pressing "CTRL+ALT+BACKSPACE". If you got an error message edit your xorg.conf with nano back to the old settings:
And restart your machine with
Now we can edit the imwheelrc-file:
Add followed lines to the end of the file:
Zitat |
|
".*"
None,Thumb1,Alt_L|Left
None,Thumb2,Alt_L|Right |
Restart again X-server.
Then you can use the thumb buttons for back/forward-actions for example in firefox.