Creating script to remove acceleration
Posted: Fri Jul 27, 2012 11:25 pm
Hello,
I want to permanently remove mouse accelleration
I know how to remove it through terminal but that doesn't remain after boot (I don't think).
So, here's my newbie question: How do I turn a gedit text file into a script that runs on boot? What do I name it and where do I put it on the system?
This is my script:
#!/bin/bash
#wait for the desktop to settle
sleep 5
# turn off mouse acceleration
xinput set-prop 'SteelSeries Kinzu' 'Evdev Middle Button Emulation' 0
xinput set-prop 'SteelSeries Kinzu' 'Device Accel Profile' -1
xinput set-prop 'SteelSeries Kinzu' 'Device Accel Velocity Scaling' 1
Cheers
Jack
I want to permanently remove mouse accelleration
I know how to remove it through terminal but that doesn't remain after boot (I don't think).
So, here's my newbie question: How do I turn a gedit text file into a script that runs on boot? What do I name it and where do I put it on the system?
This is my script:
#!/bin/bash
#wait for the desktop to settle
sleep 5
# turn off mouse acceleration
xinput set-prop 'SteelSeries Kinzu' 'Evdev Middle Button Emulation' 0
xinput set-prop 'SteelSeries Kinzu' 'Device Accel Profile' -1
xinput set-prop 'SteelSeries Kinzu' 'Device Accel Velocity Scaling' 1
Cheers
Jack