tips

SLOW DOWN THE SPEED MOUSE

List input devices:

oscargomez@scorpion:~$ xinput --list
⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ Logitech Gaming Mouse G402               id=11 [slave  pointer  (2)]
⎜   ↳ Logitech Gaming Mouse G402               id=12 [slave  pointer  (2)]
⎣ Virtual core keyboard                    id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard              id=5 [slave  keyboard (3)]
    ↳ Power Button                             id=6 [slave  keyboard (3)]
    ↳ Video Bus                                id=7 [slave  keyboard (3)]
    ↳ Power Button                             id=8 [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                    id=9 [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                    id=10 [slave  keyboard (3)]
    ↳ Eee PC WMI hotkeys                       id=13 [slave  keyboard (3)]

List properties of a device:

oscargomez@scorpion:~$ xinput --list-props 11
Device 'Logitech Gaming Mouse G402':
 Device Enabled (133): 1
 Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 Device Accel Profile (257): 0
 Device Accel Constant Deceleration (258): 1.250000
 Device Accel Adaptive Deceleration (259): 1.000000
 Device Accel Velocity Scaling (260): 10.000000
 Device Product ID (252): 1133, 49278
 Device Node (253): "/dev/input/event4"
 Evdev Axis Inversion (261): 0, 0
 Evdev Axes Swap (263): 0
 Axis Labels (264): "Rel X" (143), "Rel Y" (144), "Rel Horiz Wheel" (272), "Rel Vert Wheel" (273)
 Button Labels (274): "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140), "Button Horiz Wheel Left" (141), "Button Horiz Wheel Right" (142), "Button Side" (267), "Button Extra" (268), "Button Forward" (269), "Button Back" (270), "Button Task" (271), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266)
 Evdev Scrolling Distance (265): 1, 1, 1
 Evdev Middle Button Emulation (275): 0
 Evdev Middle Button Timeout (276): 50
 Evdev Third Button Emulation (277): 0
 Evdev Third Button Emulation Timeout (278): 1000
 Evdev Third Button Emulation Button (279): 3
 Evdev Third Button Emulation Threshold (280): 20
 Evdev Wheel Emulation (281): 0
 Evdev Wheel Emulation Axes (282): 0, 0, 4, 5
 Evdev Wheel Emulation Inertia (283): 10
 Evdev Wheel Emulation Timeout (284): 200
 Evdev Wheel Emulation Button (285): 4
 Evdev Drag Lock Buttons (286): 0

Change the speed mouse:

xinput --set-prop 11 "Device Accel Constant Deceleration" 1.25

Add this line at hte end of the file: .bashrc