Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Mac Tips: How to use Terminal to add the power chime to your MacBook Air or MacBook Pro


  • Please log in to reply
No replies to this topic

#1
OFFLINE   sincity

sincity

    Advanced Member

  • Members
  • PipPipPipPip
  • 2144 posts
63
Getting Better
Mac Tips: How to use Terminal to add the power chime to your MacBook Air or MacBook Pro

You know the sound your iPhone makes when you plug it in to charge? Well, the new 12-inch MacBooks (yes, those really thin ones) make the same sound when you connect and disconnect the power. And guess what? With a little trick, you can have this same sound on your current MacBook Pro or MacBook Air as well, allowing you to know for sure that your charging cable is indeed properly connected to your laptop.

To begin, ensure that you have the latest version of Yosemite (10.10.3 or higher) installed on your MacBook Pro or Air, and then open the Terminal (located in /Applications/Utilities). Unplug your MacBook if it's plugged in.

Next, copy and paste the following line into the Terminal, then press the return key (you must type this command all on one line without any returns regardless of how it looks wrapped):

defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &

Power Chime

Voila! When you connect the power you will hear the chime sound. If you get tired of this sound, simply use this command in the Terminal to deactivate it:

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













0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users