Can you give me your cat /proc/bus/input/devices?
Can you give me your cat /proc/bus/input/devices?
aka anime4christ (I'm a guy, btw.)
My personal boring website ^_^
Jesus has changed your life. Save changes? (Y/N)
I: Bus=0011 Vendor=0001 Product=0001 Version=ab54
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 fb40f001 72ffffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=40001
B: SND=6
I: Bus=0011 Vendor=0002 Product=000a Version=0000
N: Name="TPPS/2 IBM TrackPoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse0 event2 ts0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
I: Bus=0003 Vendor=046d Product=c01e Version=2200
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3 ts1
B: EV=7
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=103
I: Bus=0011 Vendor=1014 Product=5450 Version=0001
N: Name="/usr/sbin/thinkpad-keys"
P: Phys=
S: Sysfs=/class/input/input4
H: Handlers=kbd event4
B: EV=3
B: KEY=3 1 20000000 100000 e0000 0 0 0
OK, try this in xorg.conf (remember to backup):
In Section "ServerLayout", replace:
with:Code:InputDevice "Configured Mouse"
Add a section like this:Code:InputDevice "Configured Mouse" InputDevice "Logitech Mouse"
Then change these lines in your Logitech mouse section:Code:Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mouse0" #note the device option Option "ZAxisMapping" "4 5" EndSection
to:Code:Identifier "Configured Mouse" Driver "evdev" Option "CorePointer"
(The Driver "evdev" part doesn't change, but it just happens to be right in between the lines that do need to be changed.)Code:Identifier "Logitech Mouse" Driver "evdev" Option "SendCoreEvents" "True"
aka anime4christ (I'm a guy, btw.)
My personal boring website ^_^
Jesus has changed your life. Save changes? (Y/N)
THANKS! works perfectly! Does the corepointer option say that its the main mouse pointer? Just wanted to learn what it was that I changed.
You're welcome! ^_^ Yes, that's exactly what CorePointer means.
aka anime4christ (I'm a guy, btw.)
My personal boring website ^_^
Jesus has changed your life. Save changes? (Y/N)
For Logitech V500 mouse you can use this .xconfigrc:
I remapped the Left/Right scroll to Cursorkeys Left/Right
This scrolls to Left/Right e.g. in Firefox instead of PageBack/PageForward
To autoload xbindkeys at startup go to
System -> Preferences -> Sessions -> "Startup Programs" Tab -> Add -> and type xbindkeys
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# mxx + cxx
# Shift+...
#keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable
#ScrollLeft-ButtonPress - Ignore this event!
""
m:0x0 + b:7 (mouse)
#ScrollLeft-ButtonRelease
#Just send CursorKey Left
"/usr/bin/xvkbd -xsendevent -text "\[Left]""
m:0x0 + b:11 (mouse)
#ScrollRight-ButtonPress - Ignore this event!
""
m:0x0 + b:6 (mouse)
#ScrollRight-ButtonRelease
#Just send CursorKey Right
"/usr/bin/xvkbd -xsendevent -text "\[Right]""
m:0x0 + b:12 (mouse)
#
# End of xbindkeys configuration
Last edited by nanocosm; August 23rd, 2006 at 09:35 AM.
Nobody has a G5 mouse here ?
If yes, do you have all buttons functional ?
Can you give the scipt you use ?
Nous avons trop tendance à devenir pareils aux pires de nos ennemis.
Coda Bene Gesserit
Drunken child easy.
aka anime4christ (I'm a guy, btw.)
My personal boring website ^_^
Jesus has changed your life. Save changes? (Y/N)
Hello,
I follow this instructions : Logitech G5 setpoint - enable all buttons
After rebooting, my G5 mouse works great.
In firefox I have the left/right middle button function.
But the side button don't work. The resolution buttons don't allow me more resolution like in windows...
Here you have the xev output :
Whell Up -> button 4
Whell Down -> button 5
Whell Left -> button 6
Whell Right -> button 7
Left Clic -> button 1
Middle Clic -> button 2
Right Clic -> button 3
Side button -> button 8
But the 2 others buttons (for changing resolution) don't allow me to have more than 3 resolutions...
For the Whell left & right, can it be possible to have this function in nautilus and other program ?
How can I set it to only few programs ?
Ps : I don't use the following instructions, because with it i loose the autoscroll capabilities in firefox...
ThanksI just used xmodmap so that the thumb button pastes highlighted text and opens links in new tabs in firefox, tilting the wheel horizontally is back/fwd in firefox and horizontal scroll in other apps.
To get this, typeIf you want a different configuration, try rearranging the first 8 numbers and see what which button does (I have never really been able to understand the logic in it, I just use trial and error. Maybe I'm just too dumb.)Code:xmodmap -e "pointer = 1 3 8 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32"
You might want to add that command to run on startup. Chances are you are using Gnome, which I can't use that much. On KDE you can do it with an autostart config file:
Add this:Code:nano ~/.kde/Autostart/mouse.desktop
Code:[Desktop Entry] Encoding=UTF-8 Exec=xmodmap -e "pointer = insertyourbuttonmappingshere" GenericName[en_US]= StartupNotify=false Terminal=false TerminalOptions= Type=Application X-KDE-autostart-after=kdesktop"
++
Miles
Last edited by MilesTEG1; August 24th, 2006 at 06:13 PM.
Nous avons trop tendance à devenir pareils aux pires de nos ennemis.
Coda Bene Gesserit
Bookmarks