Hi,

Found this a couple of years ago, so some of you may already have had some fun 
with it.  Credit to OS X Daily for this.

Would you like your Mac to make a sound when the charge cable is connected, 
like your iOS device does?  Newer MacBooks already do this, but as long as you 
have 10.10.3 or higher and a Mac laptop, you can enable this feature.  I use it 
and like it a lot as I can know for sure that my cable has initiated the 
charging cycle audibly.  Instructions below:

To enable Playing a Power Chime Sound Effect on a MacBook Pro & MacBook Air
Disconnect the Mac from the MagSafe power source
Open the Terminal app, found in /Applications/Utilities/
Enter the following command syntax, be sure there are no breaks as you’ll want 
to fit the entire sequence onto a single line (no it doesn’t matter if it 
wraps):
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open 
/System/Library/CoreServices/PowerChime.app &

Hit Return
Re-connect the MacBook power supply to hear the chime
This will enable the feature through the defaults command string and 
simultaneously launch the PowerChime application, the latter tiny app must be 
running in order for the power chime sound effect to trigger.

Now you just have to disconnect your MagSafe (or USB-C) power connector from 
the Mac, wait a second or two, then reconnect it. You’ll hear the familiar 
power connected / charging sound effect from your iPhone and iPad devices.

You can also trigger the sound effect manually, maybe you like the way it 
sounds or you’re just curious what we’re talking about here. Use the following 
command to play the power chime sound effect:

afplay 
/System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif

To disable the Chime Sound Effect on Power Cable Connect in Mac OS X
You can also turn off the power chime sound effect when you connect a power 
cable to a Mac by issuing a different defaults command string within the OS X 
Terminal:

defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall 
PowerChime

This will disable the sound effect when connecting a power cable on the MacBook 
Air, MacBook Pro, and yes, it will also disable the power chime sound effect on 
the MacBook line as well.

Many new MacBook owners have noticed this little feature, but the source of the 
audio was uncovered by @zwaldowski, who reports that some Macs will even have a 
vibrating trackpad with this feature enabled (a new Retina MacBook Pro does not 
offer that aspect).

Later...

Tim Kilburn
Fort McMurray, AB Canada

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
[email protected] and your owner is Cara Quinn - you 
can reach Cara at [email protected]

The archives for this list can be searched at:
http://www.mail-archive.com/[email protected]/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to