Puppet Class: osx::global::enable_standard_function_keys

Defined in:
manifests/global/enable_standard_function_keys.pp

Overview

Public: Sets function keys to be standard function keys (instead of always sending Fn). Requires re-login.

Parameters:

  • enabled (Any) (defaults to: true)


3
4
5
6
7
8
9
10
11
12
# File 'manifests/global/enable_standard_function_keys.pp', line 3

class osx::global::enable_standard_function_keys($enabled = true)  {
  boxen::osx_defaults { 'Keyboard, Use all Fn keys as standard function keys':
    ensure => present,
    domain => 'NSGlobalDomain',
    key    => 'com.apple.keyboard.fnState',
    type   => 'boolean',
    value  => $enabled,
    user   => $::boxen_user;
  }
}