Making xinput change permanent (for wireless mouse)

Hi altogether,

the weirdest thing happened to me yesterday: my wireless mouse (“Genius NX-7000 Funk-Maus”, lsusb says:
Bus 001 Device 004: ID 0458:0185 KYE Systems Corp. (Mouse Systems) )
became super-responsive out of the blue.

Using Lubuntu 18.04.4 LTS, 64bit I should be able to use the menu: settings ------> Keyboard and Mouse
(or command “lxinput”) and control the settings for acceleration and sensitivity. But changing the position of the respective sliders has no effect whatsoever. :frowning:

So I resorted to the following:

xinput --list | grep -i mouse
⎜   ↳ MOSART Semi. Wireless Mouse             	id=9	[slave  pointer  (2)]


xinput --list-props 9 | grep "Accel Speed"
	libinput Accel Speed (273):	0.000000
	libinput Accel Speed Default (274):	0.000000

I changed the value of id 273 to -0.5:
xinput --set-prop 9 273 -0.5

This works fine. My mouse shows the same behaviour as it used to. Perfect.

BUT: Rebooting the system or even just logging out an in again sets everything back.

Sure one could define an alias like a user suggested on .
But I´m looking for a method that renders the change of settings permanent.

Does anyone have a clue? :question:

Thanks a lot in advance.
Rosika :slightly_smiling_face:

I turn off the touchpad on my laptop, on every boot. I think I just used the @reboot item of the cron repertoire. But there are different solutions available:

Might even set up a systemd service for easier management:


Hi and thank you so much for your suggestions and the links.
I´ll read them through which might take whiile by the look of it. :wink:
But good to know there are ways of achieving my goal.

Some points seem to remain a mystery though.

  • Why on earth did my mouse all of a sudden become super-sensitive all by itself…
  • Why don´t the sliders in the settings-GUI have any effect…
  • Why aren´t the settings using xinput permanent…

Never mind; with your help there seem to be some workarounds.

Thanks a lot for that.

Rosika :blush:

1 Like

Found an even better Ubuntu-specific way:

As to the questions: they are typical Linux mysteries.


Hi again and many thanks for your new link. That´s really very kind of you.

This one looks very promising. I just looked over it briefly and have to read it through thoroughly. :open_book:

Ah, good to know. I tend to worry a great deal… :blush:

Your help is much appreciated. Many thanks and greetings.


Hi @Rosika, I run Linux Mint and had a bad problem with a jumping mouse cursor. I was able to disable the touch screen permanently at
Edit /usr/share/X11/xorg.conf.d/10-evdev.conf
Catch-all evdev loader for udev-based systems.
This may not be the same for Ubuntu but may give you a clue as to where to look.
I also found this on the internet which sounded like it might be a match for you.


Hello Howard,

thanks a lot for your suggestions.
I don´t seem to have the file 10-evdev.conf

    ll /usr/share/X11/xorg.conf.d/
    insgesamt 24K
    -rw-r--r-- 1 root root   92 Mär 20  2018 10-amdgpu.conf
    -rw-r--r-- 1 root root 1,4K Okt 21  2019 10-quirks.conf
    -rw-r--r-- 1 root root   92 Mär 20  2018 10-radeon.conf
    -rw-r--r-- 1 root root  945 Apr 11  2018 40-libinput.conf
    -rw-r--r-- 1 root root  590 Mär  7  2017 51-synaptics-quirks.conf
    -rw-r--r-- 1 root root 1,8K Mär  7  2017 70-synaptics.conf

and the locate command yields no hits even in other places.
Never mind. Thanks for the link. I have to read it through and am interested if I can find help in it.

As soon as I come up with a solution I´ll post it here.

Thanks again.
Rosika :smiley:


Hi all,

after looking through the links you provided (quite some literature I must say :wink:)
I found the easiest soultion to tbe that one:

I added the command
xinput --set-prop 9 273 -0.5
to autostart.
The command lxsession-default-apps gives me the respective GUI. The tab “Autostart” provides a field where I entered the above command and clicked on “Add”.

That´s it.
Afterwards I logged out and in. And indeed my mouse pointer behaves as it used to and isn´t super-sesitive any more.
I also checked with a command:

xinput --list-props 9 | grep "Accel Speed"
	libinput Accel Speed (273):	-0.500000  # that´s o.k. now
	libinput Accel Speed Default (274):	0.000000

I even did a reboot and the change is permanent now.

I´m so pleased. :wink: :+1:

Plus: I´ve still got quite a bit to read thanks to the links you provided.

Thank you so much all for your help. I´m very glad to be able to come to this forum and all the nice people here for help. :smiley:

Many greetings and keep safe.
Rosika :slightly_smiling_face: