Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two different mice (one is always used on the system, the other is wireless and moves between systems as needed). Unfortunately, the wireless one is much more sensitive than the wired mouse, and the mouse settings panel doesn't seem to have a way to set different settings for different mice.

share|improve this question
up vote 3 down vote accepted

You can have multiple hardware-specific configurations now, in /etc/X11/xorg.conf.d/.

See X/Config, or New configuration world order which has some more specific examples.

If anyone is interested in helping improve X via wiki editing, a really easy thing to do would be to copyedit the directions at X/Config to be in the form of xorg.conf.d snippets instead of whole xorg.conf's. If not, us developers will get to it eventually, but it could save time that developers could then spend on fixing more X bugs. :-)

share|improve this answer
This would be a much more useful answer with an example (or a link to an example). – jbowtie Aug 12 '10 at 21:43
Sure, no prob. Really, it's the same format as xorg.conf so if you've ever had the fortune of editing xorg.conf, you'll know it. man xorg.conf serves as a good reference. Driver-specific settings can be had via their man pages, e.g. man intel, man evdev, man wacom, et al. – Bryce Aug 19 '10 at 19:06

You'll probably want to write a simple script that is run automatically or that you run whenever you switch mice. It'll need to simply swap out one config file for another, back and forth whenever it is run.

I don't know which config files this info lives in, or if there's a hook to run scripts when mice are plugged in, but maybe that's a start.

share|improve this answer
have a look at xinput or udev rules. See for more information – Tedil Aug 4 '10 at 19:23

Your Answer


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.