Skip to main content
Question

Show Bluetooth in menu bar

  • April 28, 2021
  • 3 replies
  • 24 views

Forum|alt.badge.img+15

Any thoughts on the best way to enable "Show Bluetooth in menu bar"?
Either command line or configuration profile.

3 replies

mvu
Forum|alt.badge.img+20
  • Jamf Heroes
  • 963 replies
  • April 28, 2021

In the past, I created a Self Service policy with Files and Processes payload. For Execute Command at the bottom, I entered:

open /System/Library/CoreServices/Menu Extras/Bluetooth.menu

This would work on 10.15 and down. But in Big Sur, I don't see it in the CoreServices part. Interested to see if anyone else has a better script. I found this but didn't test it...

https://stackoverflow.com/questions/61594368/show-bluetooth-volume-in-menu-bar-apple-script


Forum|alt.badge.img+15
  • Author
  • Valued Contributor
  • 118 replies
  • April 28, 2021

Unfortunately Big Sur does not have /System/Library/CoreServices/Menu Extras/Bluetooth.menu”
When I turn off BT using the GUI it writes to these plists.
defaults write com.apple.controlcenter "NSStatusItem Visible Bluetooth" -bool false
defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Bluetooth 24
But modifying those plists from the command line does not seem to force the change.


Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • August 11, 2021

These two commands will take effect immediately even in Big Sur:

 

Add the Bluetooth menu option:
defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter.plist Bluetooth -int 18
 
Remove the Bluetooth menu option:
defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter.plist Bluetooth -int 24