macbook air

The new MacBook, first released in 2015, makes a chime sound every time you plug the MacBook in, just like the iPhone and iPad. But the MacBook Pro and Air don’t–unless you enable this hidden feature.

新款MacBook于2015年首次发布,每次插入MacBook时都会发出铃声,就像iPhone和iPad一样。 但是MacBook Pro和Air不会,除非您启用了此隐藏功能。

While this feature is only enabled by default on the MacBook, PowerChime.app–which causes the sound–is present in macOS on any Mac. All you need to do is run a single command to enable it. If you’ve got a fraying charger, or live in a house with some loose plugs, hearing that your charger is working can be a godsend. (Thanks to GitHub user herbischoff for discovering and sharing this trick.)

虽然仅在MacBook上默认启用了此功能,但在任何Mac上的macOS中都存在PowerChime.app(会发出声音)。 您需要做的就是运行一个命令来启用它。 如果您的充电器破旧不堪,或者住在插头松动的房屋中,听说您的充电器正在工作可能是天赐之物。 (感谢GitHub用户herbischoff发现并分享了这一技巧。)

如何在MacBook Pro或Air上启用PowerChime (How to Enable PowerChime on Your MacBook Pro or Air)

To enable PowerChime.app, you need to open the Terminal. Head to Applications > Utilities or search Spotlight for “Terminal”.

要启用PowerChime.app,您需要打开终端。 转到“应用程序”>“实用程序”,或在Spotlight中搜索“终端”。

Then, paste this command and hit Enter:

然后,粘贴此命令并按Enter:

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

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

Commands can seem like magic spells, but they’re not that complicated. Here’s how this particular one breaks down:

命令看似魔术,但并不复杂。 以下是这种特殊情况的分解方式:

  • defaults is a program on your Mac that changes settings.

    defaults是Mac上更改设置的程序。

  • The word write is you telling defaults that you want to change something.

    write ”一词表示您要更改defaults

  • com.apple.PowerChime ChimeOnAllHardware -bool true refers to the specific settings you want to change.

    com.apple.PowerChime ChimeOnAllHardware -bool true您要更改的特定设置。

  • The ; ends the first command and starts a second one

    ; 结束第一个命令并开始第二个命令

  • open tells your Mac to open a program

    open告诉Mac打开程序

  • /System/Library/CoreServices/PowerChime.app is the PowerChime application itself.

    /System/Library/CoreServices/PowerChime.app是PowerChime应用程序本身。

After running the command, you will hear a sound every time you plug in your MacBook Pro or Air. Neat, right?

运行该命令后,每次插入MacBook Pro或Air时,您都会听到声音。 整洁吧?

在MacBook Pro或Air上禁用Power Chime (Disable Power Chime on Your MacBook Pro or Air)

If you decide you don’t like this, here’s the command to reverse what you just did:

如果您决定不喜欢这种方法,请使用以下命令来撤销您刚刚做的事情:

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

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

The first command is largely the same as before, just with the word false instead of true. The second command, which comes after ;, shuts down PowerChime.app instead of launching it.

第一个命令与以前基本相同,只是单词false而不是true 。 第二个命令,后面是; ,请关闭PowerChime.app而不是将其启动。

为什么这甚至存在? (Why Does This Even Exist?)

So, why does is this hidden setting even offered? As stated before, it’s because of the 2015 MacBook.

那么,为什么还要提供这种隐藏设置呢? 如前所述,这是由于2015年的MacBook。

That MacBook uses USB Type-C to charge, instead of the Magsafe charger used by the MacBook Pro and Air lines. The Magsafe charger is one of Apple’s best creations, and includes a visible light that lets you know when you’re plugged in. The USB Type-C charger that comes with the MacBook doesn’t offer that, so users needed some other way to quickly confirm the device was actually charging. This sound is it.

那个MacBook使用USB Type-C充电,而不是MacBook Pro和Air系列使用的Magsafe充电器。 Magsafe充电器是Apple最好的产品之一,并且包括可见光,可让您知道何时插入电源。MacBook随附的USB Type-C充电器不提供此功能,因此用户需要其他方式快速确认设备实际正在充电。 就是这个声音。

We’re not sure why the new MacBook doesn’t just use the Magsafe, but it’s cool that the sound also works on other devices.

我们不确定为什么新款MacBook不仅仅使用Magsafe,而且声音在其他设备上也很酷是很酷的。

Photo credit: MarLeah Cole/Flickr

图片来源: MarLeah Cole / Flickr

翻译自: https://www.howtogeek.com/274191/how-to-hear-a-chime-every-time-you-plug-in-your-macbook-pro-or-air/

macbook air

macbook air_每次插入MacBook Pro或Air时如何听到提示音相关推荐

  1. 电脑插入U盘听到提示音,但是不显示U盘

    电脑插入U盘后可以听到提示音,但是并不显示U盘及内容.在保证U盘没有毁坏的情况下,我们应该如何处理呢? 1 工具/原料 U盘 电脑 2 方法/步骤 插入U盘,找到"我的电脑",鼠标 ...

  2. 开发使用air还是pro_苹果MacBook全系选购指北,Air和Pro如何选?

    2020款MacBook Pro13英寸上市后,苹果就完成了Mac笔记本的全线更新. 目前官网在售的MacBook全线的键盘从原来的蝶式换成了键程更长的剪刀脚键盘,打字的手感有较为明显的提升.有触控栏 ...

  3. 如何将 M1 Mac(MacBook Pro、Air、iMac、Mac mini)恢复出厂设置?

    在继续执行下面提到的步骤之前,请确保备份 Mac以及所有要保留的重要文件和数据,因为它们将在出厂恢复期间永久删除.如果没有备份,您将无法取回这些文件.一切完成后,您将只拥有 Mac 随附的操作系统的库 ...

  4. 【苹果经验】Wifi密码修改了,如何修改MacBook pro(air)已经记住的密码?

    [苹果经验]Wifi密码修改了,如何修改MacBook pro(air)已经记住的密码? 当你以前连接过的Wifi修改了密码,你的苹果笔记本就没有办法再连接上该无线网络了. 这时,你得重新连接输入新的 ...

  5. 苹果MacBook选购指南,Macbook Air和Pro如何选?

    2020款MacBook Pro13英寸上市后,苹果已经完成了Mac笔记本的全线更新.今年的MacBook全线的键盘从原来的蝶式换成了键程更长的剪刀脚键盘,打字的手感有较为明显的提升.有触控栏的机型, ...

  6. java开发mac pro_苹果MacBook全系选购指北,Air和Pro如何选?

    当前官网在售的MacBook系列机型分别有MacBook Air.MacBook Pro13英寸.MacBook Pro16英寸这三款,每一款都有高配和低配可选,接下来就分别来讲一下这几款Mac笔记本 ...

  7. M1版MacBook Pro和Air该选哪款?

    新款Mac已经上市一段时间了,网上可以看到很多评测,对于全新的M1芯片的赞美之词简直是数不胜数. 所以,很多人(包括我),都已经动了心了-- 那么,接下来的问题来了,到底买哪款?(这里只分析MacBo ...

  8. macbook linux 双显卡,MacBook Pro怎么设置独立显卡 一键切换独立显卡方法

    目前MacBook 系列中,MacBook Pro 的16 英寸版本是标配独立显示卡的,不过在预设中不会默认启用独立显卡.很多不明真相的小白用户就会一头雾水:为什么 16 英寸版本实际 GPU 性能比 ...

  9. 所有 iPad Pro / Mini / Air 参数详情 汇总

    所有 iPad Pro / iPad Mini / iPad Air / iPad 详细参数汇总 近期想买个 iPad 就汇总了一下 wikipedia 上的 iPad 信息做了个表 链接: http ...

最新文章

  1. 简单了解SQL性能优化工具MySql Explain
  2. 69.2. wget - retrieves files from the web
  3. who,cut,diff,which,whereis,locate,updatedb 命令的使用
  4. 讲解Linux服务器被黑解决方法
  5. 文本编辑器中查找对话框及功能实现
  6. CCIE-LAB-SDN-第二篇-DNAC中完成VN配置
  7. MFC指定位置截屏并保存为png格式 (pdf函数可以加载这种方式生成的图片)
  8. 网易云深度学习第一课第三周编程作业
  9. leetcode题库174 地下城游戏
  10. 直线旋转动画html5,多视角3D可旋转的HTML5 Logo动画
  11. java借书_用java语言实现借书系统
  12. 20190926-win10电脑声音麦克风设置里没有增强属性怎么办听语音
  13. java 多态(重写和重载)
  14. 最近一段时间的找工作计划
  15. html画布刮刮乐,h5canvas实现刮刮乐效果的方法
  16. 算法分析中的小o符号
  17. Introduction to TurboFan
  18. 120帧手机动态壁纸_热门动态壁纸主题锁屏墙纸精选app下载-热门动态壁纸主题锁屏墙纸精选最新版下载v6.2...
  19. 指纹识别-(2)指纹图像的获取
  20. RFID智能书架,整理图书不再烦恼

热门文章

  1. CF - 777D. Cloud of Hashtags 暴力
  2. SD2.0大会又一看点:职业论坛上,阿朱PK Leo
  3. 13个优秀的UML工具软件
  4. Ubuntu 下软件列表
  5. java 命令: jmap 命令使用 ( 查看内存使用、设置 )
  6. validation list嵌套对象校验
  7. SpringBoot参数校验--List类型
  8. 华为交换机查光衰_华为交换机硬件信息查看命令
  9. MySQL:偏移量为 0x000000000ae000 的位置执行 读取 期间,操作系统已经向 SQL Server 返回了错误 21(设备未就绪。)。
  10. Springcloud个人总结