You are not logged in.

#1 2010-06-26 20:28:35

Andy Mack
Member
Registered: 2008-06-16
Posts: 133

Xorg 1.8 Laser USB Mouse

I recently bought a wireless usb laser mouse and keyboard, keyboard works fine but the mouse is giving me some headaches.

Using gnome I can change the acceleration and sensitivity of it but not enough for my liking. I've read on the Xorg wiki about acceleration that can modified in xorg.conf but it makes no sense to me whatsoever. Can someone help me with this please? Below is what I have found is xorg log if it's any help.

[   540.718] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event10)
[   540.718] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[   540.718] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[   540.718] (**) Logitech USB Receiver: always reports core events
[   540.718] (**) Logitech USB Receiver: Device: "/dev/input/event10"
[   540.730] (II) Logitech USB Receiver: Found 12 mouse buttons
[   540.730] (II) Logitech USB Receiver: Found scroll wheel(s)
[   540.730] (II) Logitech USB Receiver: Found relative axes
[   540.730] (II) Logitech USB Receiver: Found x and y relative axes
[   540.730] (II) Logitech USB Receiver: Found absolute axes
[   540.730] (II) Logitech USB Receiver: Found keys
[   540.730] (II) Logitech USB Receiver: Configuring as mouse
[   540.730] (II) Logitech USB Receiver: Configuring as keyboard
[   540.730] (**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[   540.730] (**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

PS. My laser mouse is very sensitive on win7 too despite messing with settings, is this the norm of laser mice?

Offline

#2 2010-06-27 07:55:13

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: Xorg 1.8 Laser USB Mouse

To change systemwide defaults you need to create a file in  /etc/X11/xorg.conf.d/ , for example 50-input-mouse.conf

and then put in:

Section "InputClass"
    Identifier      "mouse slowdown"
    MatchIsPointer  "on"
    MatchProduct    "yourmousename"
    Option          "ConstantDeceleration" "0.5"
    Option          "AccelerationProfile" "-1"
EndSection

replace yourmousename with what your mouse is called (or part of the name). You can find it with

xinput --list

And replace 0.5 and -1 to your liking. In my case I have added a constant little slow down to my mouse, and completely disabled accel.

Optionally to change it only for your current x session:

find property name :

xinput --list-props "yourdevicename"

set the property:

xinput --set-prop "yourdevicename" "Device Accel Profile" "-1"

You need to do this everytime you start x, so put it in some autostart script.

Last edited by rwd (2010-06-27 09:10:36)

Offline

Board footer

Powered by FluxBB