[solved] how to -truly- disable mouse acceleration?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
j03k3rr
Level 4
Level 4
Posts: 208
Joined: Fri Aug 28, 2015 7:03 am

Re: how to -truly- disable mouse acceleration?

Post by j03k3rr » Tue Dec 22, 2015 1:39 am

roblm wrote:Sometimes delaying the execution of a command in Startup Applications will allow it to work. Make the script as described in my third post, with these lines added, to delay the execution by 3 seconds:

Code: Select all

#!/bin/sh
sleep 3
xinput --set-prop 11 "Device Accel Velocity Scaling" 1
You can also test changing the sleep value to 2 and then 1. However, you previously said that command worked for the touchpad and not the mouse. Try using this command for the mouse:

Code: Select all

xinput --set-prop 11 "Device Accel Constant Deceleration" 4
You can also try using just the xinput command in the /home/your-user-name/.profile file, added to the bottom.
Ok it worked this time.
Thanks a lot.

edit: And setting is lost after resuming from suspension.
● Windows 10 Pro 64
VMware Workstation 12 ○ Mint 18 ○ Elementary OS 0.3
● Ubuntu Server 14.04.03 Headless
Virtualbox 5.0.26 ○ Windows 7 64
● Linux Mint 18 Cinnamon 64

User avatar
roblm
Level 11
Level 11
Posts: 3666
Joined: Sun Feb 24, 2013 2:41 pm

Re: how to -truly- disable mouse acceleration?

Post by roblm » Tue Dec 22, 2015 3:46 pm

j03k3rr wrote:And setting is lost after resuming from suspension.
Try this method. First disable the Custom command you created in Startup Applications.
Then open the File Manager and right click on the xinput script you created and select Properties > Permissions, and mark the checkbox next to “Allow executing file as program”. Then use this command in the Terminal:

Code: Select all

gsettings set org.cinnamon.settings-daemon.peripherals.input-devices hotplug-command "/home/your-user-name/.xinput"
In that command, change your-user-name to your actual user name and I am assuming the name of the script is .xinput. Test the command by Logging out and back in and suspending.

To reverse the effect, change the value in the xinput script and then use that command again.

j03k3rr
Level 4
Level 4
Posts: 208
Joined: Fri Aug 28, 2015 7:03 am

Re: how to -truly- disable mouse acceleration?

Post by j03k3rr » Tue Dec 29, 2015 4:13 am

@roblm worked after sleep too. thanks a lot. I will mark this topic as solved.
● Windows 10 Pro 64
VMware Workstation 12 ○ Mint 18 ○ Elementary OS 0.3
● Ubuntu Server 14.04.03 Headless
Virtualbox 5.0.26 ○ Windows 7 64
● Linux Mint 18 Cinnamon 64

Yfrwlf
Level 3
Level 3
Posts: 129
Joined: Sat Jun 08, 2013 7:46 pm

Re: [solved] how to -truly- disable mouse acceleration?

Post by Yfrwlf » Sat Mar 19, 2016 10:52 am

Would be cool to simply have a switch in the options for disabling acceleration. Also, I'm not sure if it's an issue specific to 4K resolutions, but the mouse pointer speed slider seems to be way too low at least for my mouse.

I think the general sentiment of most Linux users is that acceleration = bad, and being able to pump up the mouse pointer speed instead = good.

Post Reply

Return to “Hardware Support”