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 11:48:39 +0100 (CET)
+ Jeroen Hegeman <email@hidden>:
On Dec 31, 2008, at 11:01, Harald Hanche-Olsen wrote:
Here is a possible script to drop into
/usr/X11/lib/X11/xinit/xinitrc.d/.
Sweet, that seems to do the trick nicely.
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.
Good point. Here is a revised version.
pref_InitialKeyRepeat=$(defaults read .GlobalPreferences
InitialKeyRepeat)
if [ $? != 0]; then pref_InitialKeyRepeat=68; fi
pref_KeyRepeat=$(defaults read .GlobalPreferences KeyRepeat)
if [ $? != 0]; then pref_KeyRepeat=30; fi
xset r rate $((pref_InitialKeyRepeat * 10)) $((100 / $pref_KeyRepeat))
I am not sure if those are the defaults, though. System Preferences
seems to store these values in more than one place, since it does not
restore these values to their defaults even if I delete those two keys
from .GlobalPreferences; so I find myself unable to restore the
system
defaults. I am just guessing that they have the two sliders around the
middle somewhere.
- 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