Live Captions
Everything under System Settings › Accessibility › Live Captions, as Nix options. Each one is named after the control
you'd click, and set under programs.nix-plist-manager.options in home-manager.
Background color
Section titled “Background color”System Settings › Accessibility › Live Captions › Background color
applications.systemSettings.accessibility.liveCaptions.backgroundColor = "Default"; "Default", or a color as { red; green; blue; alpha; }, each from 0 to 1 "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.universalaccesssystemTranscriptionTranscriptionViewBackgroundColor
For Default:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionTranscriptionViewBackgroundColor 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewBackgroundColor 2>/dev/null || trueFor unset:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionTranscriptionViewBackgroundColor 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewBackgroundColor 2>/dev/null || trueFor { alpha = 1.0; blue = 0.0; green = 0.0; red = 1.0; }:
/usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewBackgroundColor -dict alpha -float 1.000000 blue -float 0.000000 green -float 0.000000 red -float 1.000000 || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewBackgroundColor -dict alpha -float 1.000000 blue -float 0.000000 green -float 0.000000 red -float 1.000000' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewBackgroundColor 2>/dev/null || trueFont color
Section titled “Font color”System Settings › Accessibility › Live Captions › Font color
applications.systemSettings.accessibility.liveCaptions.fontColor = "Default"; "Default", or a color as { red; green; blue; alpha; }, each from 0 to 1 "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.universalaccesssystemTranscriptionTranscriptionViewFontColor
For Default:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontColor 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontColor 2>/dev/null || trueFor unset:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontColor 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontColor 2>/dev/null || trueFor { alpha = 1.0; blue = 0.0; green = 0.0; red = 1.0; }:
/usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFontColor -dict alpha -float 1.000000 blue -float 0.000000 green -float 0.000000 red -float 1.000000 || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFontColor -dict alpha -float 1.000000 blue -float 0.000000 green -float 0.000000 red -float 1.000000' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontColor 2>/dev/null || trueFont family
Section titled “Font family”System Settings › Accessibility › Live Captions › Font family
"Default" or the name of a font, e.g. "Helvetica".
applications.systemSettings.accessibility.liveCaptions.fontFamily = "Default"; Text "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.universalaccesssystemTranscriptionTranscriptionViewFont
For Default:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionTranscriptionViewFont 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFont 2>/dev/null || trueFor Helvetica:
/usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFont -dict fontName -string Helvetica fontSize -float 32.000000 || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFont -dict fontName -string Helvetica fontSize -float 32.000000' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFont 2>/dev/null || trueFor unset:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionTranscriptionViewFont 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFont 2>/dev/null || trueFont size
Section titled “Font size”System Settings › Accessibility › Live Captions › Font size
applications.systemSettings.accessibility.liveCaptions.fontSize = 12.0; A number from 12 to 120 "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.universalaccesssystemTranscriptionTranscriptionViewFontSize
For 12.0:
/usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize -float 12.000000 || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize -float 12.000000' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize 2>/dev/null || trueFor 120.0:
/usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize -float 120.000000 || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize -float 120.000000' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize 2>/dev/null || trueFor unset:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionTranscriptionViewFontSize 2>/dev/null || trueLanguage
Section titled “Language”System Settings › Accessibility › Live Captions › Language
A locale such as "en-US" or "en-GB".
applications.systemSettings.accessibility.liveCaptions.language = "…"; Text "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.AccessibilitykAXSLiveCaptionsSelectedLocationPreference
For unset:
/usr/bin/defaults delete com.apple.Accessibility kAXSLiveCaptionsSelectedLocationPreference 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.Accessibility kAXSLiveCaptionsSelectedLocationPreference 2>/dev/null || trueFor …:
/usr/bin/defaults write com.apple.Accessibility kAXSLiveCaptionsSelectedLocationPreference -string '…' || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.Accessibility kAXSLiveCaptionsSelectedLocationPreference -string '\''…'\''' >&2/usr/bin/defaults -currentHost delete com.apple.Accessibility kAXSLiveCaptionsSelectedLocationPreference 2>/dev/null || trueLive Captions
Section titled “Live Captions”System Settings › Accessibility › Live Captions › Live Captions
applications.systemSettings.accessibility.liveCaptions.liveCaptions = true; true or false "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.universalaccesssystemTranscriptionEnabled
For false:
/usr/bin/defaults write com.apple.universalaccess systemTranscriptionEnabled -bool false || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess systemTranscriptionEnabled -bool false' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionEnabled 2>/dev/null || trueFor true:
/usr/bin/defaults write com.apple.universalaccess systemTranscriptionEnabled -bool true || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess systemTranscriptionEnabled -bool true' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionEnabled 2>/dev/null || trueFor unset:
/usr/bin/defaults delete com.apple.universalaccess systemTranscriptionEnabled 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess systemTranscriptionEnabled 2>/dev/null || trueLive Captions in FaceTime
Section titled “Live Captions in FaceTime”System Settings › Accessibility › Live Captions › Live Captions in FaceTime
applications.systemSettings.accessibility.liveCaptions.liveCaptionsInFaceTime = true; true or false "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.AccessibilityFaceTimeCaptions
For false:
/usr/bin/defaults write com.apple.Accessibility FaceTimeCaptions -int 0 || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.Accessibility FaceTimeCaptions -int 0' >&2/usr/bin/defaults -currentHost delete com.apple.Accessibility FaceTimeCaptions 2>/dev/null || trueFor true:
/usr/bin/defaults write com.apple.Accessibility FaceTimeCaptions -int 1 || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.Accessibility FaceTimeCaptions -int 1' >&2/usr/bin/defaults -currentHost delete com.apple.Accessibility FaceTimeCaptions 2>/dev/null || trueFor unset:
/usr/bin/defaults delete com.apple.Accessibility FaceTimeCaptions 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.Accessibility FaceTimeCaptions 2>/dev/null || true