Created
April 14, 2014 14:49
-
-
Save jen20/10654959 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class people::jen20 { | |
boxen::osx_defaults { | |
"NormalFunctionKeys": | |
ensure => present, | |
domain => 'NSGlobalDomain', | |
key => "com.apple.keyboard.fnState", | |
type => 'boolean', | |
value => 'true'; | |
"NoPressAndHold": | |
ensure => present, | |
domain => 'NSGlobalDomain', | |
key => "ApplePressAndHoldEnabled", | |
type => 'boolean', | |
value => 'false'; | |
"FastKeyRepeat": | |
ensure => present, | |
domain => 'NSGlobalDomain', | |
key => "KeyRepeat", | |
type => 'integer', | |
value => '0'; | |
} | |
# etc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Further info:
$ defaults read NSGlobalDomain KeyRepeat 2014-04-14 15:50:02.104 defaults[22019:507] The domain/default pair of (kCFPreferencesAnyApplication, KeyRepeat) does not exist
$ defaults read NSGlobalDomain ApplePressAndHoldEnabled 2014-04-14 15:51:11.621 defaults[22030:507] The domain/default pair of (kCFPreferencesAnyApplication, ApplePressAndHoldEnabled) does not exist
$ defaults read NSGlobalDomain com.apple.keyboard.fnState 1
(Note that I manually set fnState to 1 as it was just too annoying without!)