Re: 2.3.2_rc5
Re: 2.3.2_rc5
- Subject: Re: 2.3.2_rc5
- From: Harald Hanche-Olsen <email@hidden>
- Date: Wed, 31 Dec 2008 14:40:35 +0100 (CET)
+ Jeroen Hegeman <email@hidden>:
Just for documentation purposes: I found this thread
http://discussions.apple.com/thread.jspa?threadID=1316947&tstart=4320
in which someone documents how/what these two settings do.
Thanks. It says
The value in both of these keys may be multiplied by 15 to get the
timing in milliseconds.
The two default values (35 and 6) seem to coincide with what I now
have in my preferences (which is based on the defaults).
So here is yet another version of my script, based on these values.
This time as an attachment to avoid any line wrapping issues.
pref_InitialKeyRepeat=$(defaults read .GlobalPreferences InitialKeyRepeat)
if [ $? != 0]; then pref_InitialKeyRepeat=35; fi
pref_KeyRepeat=$(defaults read .GlobalPreferences KeyRepeat)
if [ $? != 0]; then pref_KeyRepeat=6; fi
xset r rate $((pref_InitialKeyRepeat * 15)) $((67 / $pref_KeyRepeat))
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden