You are not logged in.

#1 2022-06-01 11:53:22

thommen
Member
From: Poland
Registered: 2017-12-30
Posts: 239

Slowing down the second mouse

I have read https://wiki.archlinux.org/title/Mouse_acceleration

I have

xinput list                                                
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ A4TECH USB Device Keyboard              	id=8	[slave  pointer  (2)]
⎜   ↳ A4TECH USB Device                       	id=9	[slave  pointer  (2)]
⎜   ↳ Lenovo TrackPoint Keyboard II           	id=10	[slave  pointer  (2)]
⎜   ↳ Lenovo TrackPoint Keyboard II Mouse     	id=11	[slave  pointer  (2)]
⎜   ↳ Lenovo TrackPoint Keyboard II Consumer Control	id=12	[slave  pointer  (2)]
⎜   ↳ Lenovo TrackPoint Keyboard II System Control	id=13	[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)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ A4TECH USB Device Keyboard              	id=14	[slave  keyboard (3)]
    ↳ Lenovo TrackPoint Keyboard II           	id=15	[slave  keyboard (3)]
    ↳ Lenovo TrackPoint Keyboard II Consumer Control	id=16	[slave  keyboard (3)]
    ↳ Lenovo TrackPoint Keyboard II System Control	id=17	[slave  keyboard (3)]

I want to slow down the mouse "Lenovo TrackPoint Keyboard II Mouse"
I execute a command that slows down the cursor, and it works

xinput --set-prop 11 301 0
libinput Accel Speed (301):	0.000000

I want to make these changes permanent. I file

/etc/X11/xorg.conf.d/99-libinput-custom-config.conf

i have:

Section "InputClass"
  Identifier "Slow Lenovo TrackPoint Keyboard II Mouse"
  MatchDriver "libinput"
  MatchProduct "Lenovo TrackPoint Keyboard II Mouse"
  Option "AccelSpeed" "0"
EndSection

The changes are not saved after restarting the computer. Where do I go wrong?

sudo lsusb -v | grep -e idProduct -e idVendor          
[sudo] hasło użytkownika tom: 
  idVendor           0x8087 Intel Corp.
  idProduct          0x8002 8 channel internal hub
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  idVendor           0x8087 Intel Corp.
  idProduct          0x800a Hub
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  idVendor           0x045b Hitachi, Ltd
  idProduct          0x0210 
  idVendor           0x045b Hitachi, Ltd
  idProduct          0x0210 
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  idVendor           0x045b Hitachi, Ltd
  idProduct          0x0209 
  idVendor           0x17ef Lenovo
  idProduct          0x60ee 
  idVendor           0x09da A4Tech Co., Ltd.
  idProduct          0x9066 F3 V-Track Gaming Mouse
  idVendor           0x045b Hitachi, Ltd
  idProduct          0x0209 
  idVendor           0x0b05 ASUSTek Computer, Inc.
  idProduct          0x190e 
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub

Edit
I made the opposite change and it still doesn't work. Where is the problem?

Section "InputClass"
  Identifier "Speed F3 V-Track Gaming Mouse"
  MatchIsPointer "yes"
  MatchDriver "libinput"
  MatchProduct "A4TECH USB Device"
  Option "AccelSpeed" "-1"
EndSection

Last edited by thommen (2022-06-01 21:37:59)

Offline

Board footer

Powered by FluxBB