Re: 2.3.2_rc5
Re: 2.3.2_rc5
- Subject: Re: 2.3.2_rc5
- From: Jeroen Hegeman <email@hidden>
- Date: Wed, 31 Dec 2008 11:26:06 +0100
On Dec 31, 2008, at 11:01, Harald Hanche-Olsen wrote:
+ Tom Lane <email@hidden>:
On Dec 30, 2008, at 01:20, Peter Collinson wrote:
but seems to set it. I prefer faster settings (350 20) but mileage
does vary.
I find 500/8 pretty slow too. Is it reasonable to make the server
pull
these numbers from the OS X keyboard system preferences, instead of
everyone having to custom-tune them?
I think that sounds like a good idea.
Here is a possible script to drop into /usr/X11/lib/X11/xinit/
xinitrc.d/.
Sweet, that seems to do the trick nicely.
pref_InitialKeyRepeat=$(defaults read .GlobalPreferences
InitialKeyRepeat)
pref_KeyRepeat=$(defaults read .GlobalPreferences KeyRepeat)
Just in case: if the above `defaults' commands tell you:
The domain/default pair of (.GlobalPreferences, InitialKeyRepeat)
does not exist
then you have probably never changed these from their defaults. Open
System Preferences -> Keyboard & Mouse. Change both Key Repeat Rate
and Delay Until Repeat sliders and close System Preferences. Now the
key pair should have been created for you and you can set your
settings back to what they were.
Cheers,
Jeroen
xset r rate $((pref_InitialKeyRepeat * 10)) $((100 / $pref_KeyRepeat))
I am not sure that I have interpreted the preferences correctly, but
it seems at least approximately right.
- Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
Jeroen Hegeman
jeroen DOT hegeman AT gmail DOT com
WARNING: This message may contain classified information. Immediately
burn this message after reading.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden