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 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
add comment

2 Answers

up vote 2 down vote accepted

You can have multiple hardware-specific configurations now, in /etc/X11/xorg.conf.d/. See https://wiki.ubuntu.com/X/Config/, or http://who-t.blogspot.com/2010_01_01_archive.html 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 https://wiki.ubuntu.com/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
1  
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
add comment

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 wiki.ubuntu.com/X/Config/Input for more information –  Tedil Aug 4 '10 at 19:23
add comment

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.