how to set the mouse speed very low on ubuntu

12

5

I set the mouse acceleration and sensitivity levels to minimum in System->Preferences->Mouse but with the new mouse I have, even those settings are too fast. Is there a way to further reduce the speed? The resolution of the mouse seems to be much higher than needed. Is there a way to reduce that?. The mouse is an Okano A1020 Laser Mouse. lsusb -v says the following:

    Bus 006 Device 002: ID 12cf:0047  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x12cf 
  idProduct          0x0047 
  bcdDevice           51.04
  iManufacturer           1 MouseCenter
  iProduct                2 LASER Mouse
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      46
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

EDIT: In the meantime, I tried xset m 0 0, which didn't improve anything either, the mouse stayed at the same speed.

another edit: Thanks for asking, I didn't notice this earlier. The acceleration setting does have an effect, but the sensitivity setting does not. Also, I double checked the company name and model, and it is correct as stated.

Kim

Posted 2009-07-21T16:27:52.513

Reputation: 2 238

Does changing the settings actually affect it? Do you notice the mouse going slower after changing them, or does it not work at all? – Adriano Varoli Piazza – 2009-07-24T14:38:39.793

I can find neither the company nor the mouse, is the model and make on the mouse really correct? – Stefan Thyberg – 2009-07-24T14:40:53.003

Answers

16

tamale

Posted 2009-07-21T16:27:52.513

Reputation: 176

This is exactly working in ubuntu 16 x64. My mouse is a4tech g11-200n 500 hz pollrate, 2000dpi. – kodmanyagha – 2018-05-06T11:43:39.067

thx, works perfectly. A few months late though ;) – Kim – 2010-09-30T10:17:06.557

@Tamale - For some reason, my mouse still got a huge acceleration, which is really annoying. :( – Apache – 2011-12-19T14:47:52.993

Thanks for this answer. The xinput properties were exactly what I needed to do to slow down my son's optical mouse on Qimo/Ubuntu – Rob Allen – 2012-03-18T15:34:13.697

Thank you, that works perfectly for my Lenovo Laser Mouse @1600 DPI. – Aybe – 2013-01-08T14:13:26.230

2

Here is a solution related to a Logitech mouse. Simply add the following lines to .profile:

logitech=$(xinput --list --short | grep -m1 "Logitech USB Receiver" | cut -f2 | cut -d= -f2)

xinput --set-prop "$logitech" "Device Accel Constant Deceleration" 4

josy

Posted 2009-07-21T16:27:52.513

Reputation: 21

you can write $(....) instead of backticks – Kim – 2011-05-20T10:14:16.363

@Kim I changed that, way easier to read. – slhck – 2011-05-20T10:25:50.803

1

This isn't the simplest way to do it (i.e. not a GNOME or KDE preference) but you can tell the X server to use a specific mouse speed for your device. To do this you have to edit /etc/X11/xorg.conf manually and restart X (easiest way is to reboot the machine). The tricky part is identifying your mouse driver in that file. Start by looking for a section called "InputDevice" that matches your mouse driver. On my laptop for instance, where I'm using the mousepad, the section is called "Configured Mouse". You then set options as described in this thread: http://ubuntuforums.org/showthread.php?t=227562. The device in question is a laptop mousepad, and you will have to play with the numbers, but some variation of it should work.

Option "MinSpeed" "0.45"
Option "MaxSpeed" "0.75"
Option "AccelFactor" "0.020"

quark

Posted 2009-07-21T16:27:52.513

Reputation: 868

Thanks for your answer, but I'm afraid it will only work for older versions of ubuntu. The section in my xorg.conf that used to be used to configure the mouse is now commented out with the not so helpful comment "#commented out by update-manager, HAL is now used". I heard you have to edit/create config files for HAL now, but I can't find a tutorial on that anywhere, at least not for the specific problem I have. All this for a stupid mouse! God help me... – Kim – 2009-07-25T05:41:34.593

Oof. That is frustrating. I don't know of a good HAL reference to recommend either. (HAL, like GConf, and DBus really makes a modern Linux system work. I strongly agree with you that in wishing they were less opaque though.) – quark – 2009-07-25T19:18:27.397

0

It is likely that you have the DPI settings wrong. Acceleration settings and the like won't fix this.

Christian Oudard

Posted 2009-07-21T16:27:52.513

Reputation: 101

I've had the same problem with DPI and haven't figured it out yet. Sorry. – Christian Oudard – 2010-01-24T16:38:32.987

i guessed so...so how dou you fix that? – Kim – 2009-11-03T05:10:41.337

-1

What kind of mouse are you using? My Logitech G7 has speed settings built into the mouse. If you have a similar mouse, it might be set to the maximum speed. I know when I have it set to the max, it is very fast.

I can't imagine the lowest speed in ubuntu would still be too fast...

Russ Warren

Posted 2009-07-21T16:27:52.513

Reputation: 2 523

he says it's a "Okano A1020 Laser Mouse" – warren – 2009-07-24T13:54:56.040

It doesn't have any speed settings built in. – Kim – 2009-07-24T14:32:33.063