Jump to content

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


Recommended Posts

http://cdn.mos.techradar.com/art/laptops/Apple/New%20MacBook%20%282015%29/review/lid-recline-470-75.JPG

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 &

http://mos.futurenet.com/techradar/art/MacLifeWebContent/TerminalTip-PowerChime-060815/Power-crop-420-90.jpg

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

http://rss.feedsportal.com/c/669/f/415085/s/470eb24b/sc/15/mf.gif


http://da.feedsportal.com/r/231122727846/u/49/f/415085/c/669/s/470eb24b/sc/15/rc/1/rc.img
http://da.feedsportal.com/r/231122727846/u/49/f/415085/c/669/s/470eb24b/sc/15/rc/2/rc.img
http://da.feedsportal.com/r/231122727846/u/49/f/415085/c/669/s/470eb24b/sc/15/rc/3/rc.img

http://da.feedsportal.com/r/231122727846/u/49/f/415085/c/669/s/470eb24b/sc/15/a2.imghttp://pi.feedsportal.com/r/231122727846/u/49/f/415085/c/669/s/470eb24b/sc/15/a2t.imghttp://feeds.feedburner.com/~r/techradar/software-news/~4/VAqFXuRCmMc
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...