-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add misc keyboard fnState command (#311)
Co-authored-by: Yann Bertrand <5855339+yannbertrand@users.noreply.github.com>
- Loading branch information
1 parent
efcf613
commit d851eb9
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: Function keys behavior | Miscellaneous | ||
description: Allows you to change the behavior of the function keys. | ||
head: | ||
- - meta | ||
- property: 'og:title' | ||
content: macOS defaults > Miscellaneous > Function keys behaviour | ||
- - meta | ||
- property: 'og:description' | ||
content: Allows you to change the behavior of the function keys. | ||
--- | ||
|
||
# Function keys behavior | ||
|
||
Allows you to change the behavior of the function keys. The two possible options are: | ||
|
||
- Use `F1`, `F2`, etc. as special keys (default) | ||
- Use `F1`, `F2`, etc. as standard function keys | ||
|
||
⚠️ A restart of your Mac is required to apply these changes. | ||
|
||
<!-- break lists --> | ||
|
||
- **Tested on macOS**: | ||
- Sonoma | ||
- **Parameter type**: bool | ||
|
||
## Set to `false` (default value) | ||
|
||
By default, pressing a function key will perform the special feature printed on that key. | ||
|
||
```bash | ||
defaults write NSGlobalDomain com.apple.keyboard.fnState -bool false | ||
``` | ||
|
||
## Set to `true` | ||
|
||
`F1`, `F2`, etc. behave as standard function keys. Press the `fn` key to use the special features printed on the key. | ||
|
||
```bash | ||
defaults write NSGlobalDomain com.apple.keyboard.fnState -bool true | ||
``` | ||
|
||
## Read current value | ||
|
||
```bash | ||
defaults read NSGlobalDomain com.apple.keyboard.fnState | ||
``` | ||
|
||
## Reset to default value | ||
|
||
```bash | ||
defaults delete NSGlobalDomain com.apple.keyboard.fnState | ||
``` |
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