Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 10 guests | Time: 21:21
HOWTO: Configure your mouse using imwheel
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
2 posts found.
 HOWTO: Configure your mouse using imwheel
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
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:

Code[In neuem Fenster öffnen]
upkg-build imwheel


If evdev isn't installed install it:

Code[In neuem Fenster öffnen]
upkg-build xf86-input-evdev


Now get the infos about evdev:

Code[In neuem Fenster öffnen]
cat /proc/bus/input/devices


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

Code[In neuem Fenster öffnen]
Option      "ZAxisMapping" "4 5"


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]
$ su
password: enter your root password
# gedit /etc/X11/xorg.conf


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:

Code[In neuem Fenster öffnen]
$ su
password: enter your root password
# nano /etc/X11/xorg.conf


And restart your machine with

Code[In neuem Fenster öffnen]
shutdown -r now


Now we can edit the imwheelrc-file:

Code[In neuem Fenster öffnen]
$ su
password: enter your root password
# gedit /etc/X11/imwheel/imwheelrc


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.
Profile   Private Message   E-Mail
Created: 2007-01-01 14:51 | Modified: 2007-01-23 11:47 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 imwheel is now in the main repository
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
imwheel is now in the main repository.
Profile   Private Message   E-Mail
Created: 2007-01-03 11:30
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a