Monday, December 5, 2011

Mouse Speed

I have been using #! 10 (Openbox) on a USB HDD and a regular USB pendrive because I don't have a computer to dedicate completely.  As such, occasionally I will get running on a computer and the touchpad is either way too fast or too slow.  This can be controlled using the xset command.  To avoid doing this all the time, I added this to my autostart.sh file (and commenting out the ones I did not need but left in for reference).  These were lifted from the crunchbang forums: (http://crunchbanglinux.org/forums/topic/1511/how-to-increase-mouse-speed-or-motion-for-lack-of-a-better-word/)

       xset m 7 10 &                  Very Fast
       xset m 3 10 &                  Normal (Fast)  
       xset m default &              Default speed
       xset m 0 10 &                 Glacial



So, in your autostart.sh file, this might look like this for 'default' speed: 


       ##   xset m 7 10 &             ## Very Fast
       ##   xset m 3 10 &             ## Normal (Fast)
       xset m default &                ## Default speed     <--- not commented out
       ##   xset m 0 10 &             ## Glacial

This way, you can change the sensitivity for a given computer / notebook that you are using on a regular basis without having to change it each time. Of course, if you swap computers a lot, it is worth just knowing the command you can enter at the terminal as well.  It is fairly convenient to remember simply xset m default and this has worked for me on most of the computers I have used thus far.

No comments:

Post a Comment