Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I successfully followed the answer to this question to set different sensitivities for my touchpad and my USB mouse. Only problem is, once you unplug and replug the device or shutdown, restart etc., the settings reset.

share|improve this question

2 Answers 2

up vote 7 down vote accepted

According to How to configure the TrackPoint (from ThinkWiki), the method for changing the settings on a per-user basis is by using the .xsessionrc file, simply put all your xinput commands into that file and you should have your settings on boot.

The settings should be remembered after you unplug and replug the same device. But if they're not then we have a bug to report. I looked into all the events that happen when input devices are detected and I don't mind telling you that it's a real mess. If you need to go to a plan B then try adding the options into x.conf.d as shown in the above website.

share|improve this answer
    
FWIW whenever I tweak my Synaptics touchpad settings with xinput, my tweaks are forgotten when I suspend and resume. Ubuntu 10.10. –  Marius Gedminas Jan 6 '11 at 20:22
    
That's a bug, please report it. –  Martin Owens -doctormo- Jan 6 '11 at 20:50
    
Nice, I could disable the redundant and irritating touchpad buttons without affecting horizontal/vertical scrolling: echo xinput --set-button-map 'SynPS/2 Synaptics TouchPad' 0 0 0 >> ~/.xsessionrc –  Jesse Glick Sep 11 '12 at 14:47

I know this is a bit old, but in Ubuntu 14.04 I couldn't find a .xsessionrc or x.conf.d file, so I had to use xinput from the terminal. This is how you do it:

  1. Check the name of your device:

    xinput list
    
  2. See available options for your device:

    xinput list-props "Your Device Name"
    
  3. Edit settings (to make settings consistent after reboot/shutdown just add this command to Startup Applications):

    xinput set-prop "Your Device Name" "Option Name" "Value"
    

    Here is an example command I used to activate locked drags in my touchpad:

    xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Locked Drags" 1
    

    To activate/change another option just look for it in your device available options and play with them until you get the desired result, then add the command to Startup Applications and you're done!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.