Logitech

From openSUSE

This article needs to be expanded. If you can help please do so in line with the openSUSE Style Guide.

If you are looking for something to do, see the other articles that need expanding

Contents


Mouse

Logitech MX Revolution

Configuring Xmodmap

.Xmodmap

pointer = 1 17 3 4 5 8 9 6 7 10 11 12 13 14 15 16 2 18 19 20

Configuring X.org

Xorg.conf

Section "InputDevice"
 Identifier   "Mouse[1]"
 Driver       "evdev"
 Option       "Phys" "usb-*2.2/input0"   # cat /proc/bus/input/devices
 Option       "CorePointer"
 Option       "ZAxisMapping"        "4 5"
EndSection

Logitech Information

Logitech G5, G7 Laser Gaming Mouse

This config was set to work with the 2-side button edition (G5 2007), but should work with either the G5 one-side button and the wireless G7 version.

Configuring X.org

Xorg.conf

Section "InputDevice"
  Driver         "evdev"
  Identifier     "Mouse[1]"                             
  Option         "Buttons" "12"
  Option         "Name" "Logitech USB Gaming Mouse"
  Option         "Vendor" "Sysp"
  Option         "ZAxisMapping" "4 5 6 7"
  # Driver         "mouse"
  # Option         "Device" "/dev/input/mice"
  # Option         "Protocol" "explorerps/2"
EndSection

Configuring Xmodmap

.Xmodmap

pointer = 1 2 3 4 5 9 8 6 7 10 11 12 13 14 15 16 17 18 19 20

Binding keyboard to mouse buttons

Here is how to bind some mouse buttons to keyboard ones, like some keyboard shorcuts of Konqueror.

Install xbindkeys, then generate a default config

xbindkeys --defaults >> ~/.xbindkeysrc
xbindkeys

Bind the "back" and "forward" buttons of Konqueror, and same for "up" and "home". You can check your mouse buttons number using xev.

"xvkbd  -text "\[Alt]\[Left]""
      m:0x0 + b:6
"xvkbd  -text "\[Alt]\[Right]""
      m:0x0 + b:7
"xvkbd  -text "\[Alt]\[Up]""
      m:0x0 + b:9
"xvkbd  -text "\[Control]\[Home]""
      m:0x0 + b:8

Restart xbindkeys

pkill -f xbindkeys
xbindkeys 

See also

Logitech information Get All Mouse Buttons Working, ArchLinux Wiki HOW-TO Advanced Mouse Configuration, Gentoo Wiki

Keyboard