[Sugar-devel] Candidate "paper cut" bugs for a new 8.2.x release?

Paul Fox pgf at laptop.org
Tue Aug 11 12:29:23 EDT 2009

daniel wrote:
 > 2009/8/11 Paul Fox <pgf at laptop.org>:
 > > one thing we've recently realized that would be very low risk
 > > would be to change the "xset" command in /usr/bin/olpc-session
 > > from "xset 7/4 0" to either "xset 7/6 0" or "xset 7/4 1".
 > What effect does this have?

see "man xset" as a reference, but my (very basic) understanding
is that the 7/4 (or 7/6) is a fractional multiplier, which causes
the mouse to move faster by a factor of 1.75 (or 1.17).  so other
things being equal, using 7/6 will cause a slower mouse curser
than 7/4.  the second number is the number of pixels the mouse
must move before that multiplier is applied.  so "xset 7/4 10"
will start multiplying mouse movements by 1.75, but only after an
initial movement of at least 10 pixels.  that's not the whole
story, though, because if it were, you'd expect "7/4 1" and "7/4
0" to be roughly equivalent -- and they're most definitely not. 
"7/4 0" (the current values) cause a far higher mouse speed than
"7/4 1" or "7/6 0".  so there's more going on that i don't

note that a '0' threshold has become "special" in the most recent
versions of the X server, and implies a non-linear multiplication
that makes the old threshold-based configuration sort of
obsolete.  but the XO-1 doesn't have that feature, and it's not
completely clear (to me) what it's doing with the 0 value
threshold that we're setting.

 paul fox, pgf at laptop.org

More information about the Devel mailing list