macos – I need to set my Mac’s menu bar mechanically with Command Defaults,However doesnt work

[ad_1]

I’m new to defaults command.

It confuses me so much.Generally it doesnt work however the com.apple.xxx area has modified efficiently.

Now I need to set my menu bar mechanically.I discover it saved within the com.apple.controlcenter. Identical to this.

enter image description here

Then I create a brand new account to check if my command is appropriate.Nevertheless it doesnt work.

The command is under.

defaults write com.apple.controlcenter "NSStatusItem Seen WiFi" -bool false
defaults write com.apple.controlcenter "NSStatusItem Seen Bluetooth" -bool false
defaults write com.apple.controlcenter "NSStatusItem Seen AirDrop" -bool false
defaults write com.apple.controlcenter "NSStatusItem Seen FocusModes" -bool false
defaults write com.apple.controlcenter "NSStatusItem Seen ScreenMirroring" -bool false
defaults write com.apple.controlcenter "NSStatusItem Seen Sound" -bool true
defaults write com.apple.controlcenter "NSStatusItem Seen AccessibilityShortcuts" -bool false
defaults write com.apple.controlcenter "NSStatusItem Seen Battery" -bool true
defaults write com.apple.controlcenter "NSStatusItem Seen Clock" -bool false

# And I attempted like this too
defaults write com.apple.controlcenter "NSStatusItem Seen WiFi" 0
...

I dont know the rationale.Is there anybody will help me.

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *