Fn function key

hphan
New Contributor III

This seems like an easy thing to accomplish but I have a hard time getting the command to change the Fn function key status in macOS Sierra.

I found an old post regarding Fn function key on JAMF Nation here. [https://www.jamf.com/jamf-nation/discussions/22623/script-to-enable-use-f1-f2-etc-keys-as-standard-function-keys-on-external-keyboards ](link URL)

I tried
defaults write /Users/username/Library/Preferences/.GlobalPreferences com.apple.keyboard.fnState 1
and
defaults write -g com.apple.com.keyboard.fnstate -boolean true

I'm wondering if anyone got a solution to turn on or off the Fn function key on macOS Sierra.

2 REPLIES 2

jmig
New Contributor II

Any luck with this?

thta
New Contributor III
defaults write /Users/USERNAME/Library/Preferences/.GlobalPreferences com.apple.keyboard.fnState -bool true

Seems to do the trick, works after reboot or killing the process.