mac禁用开机启动程序_如何在Mac上禁用启动声音(或“启动音”)

mac禁用开机启动程序

mac禁用开机启动程序

Boot up or restart your Mac and it’ll make the traditional “startup chime” sound”. This lets you know the Mac is starting up properly, but it isn’t appropriate if you’re booting up your Mac in a quiet location like a library, or if someone is sleeping nearby.

启动或重新启动Mac,它将发出传统的“启动提示音”。 这可以让您知道Mac正在正常启动,但是如果您在图书馆之类的安静位置启动Mac或附近有人在睡觉,那是不合适的。

You can easily silence the sound on your next boot, if you know what to do. But silencing the sound permanently will require a terminal command that changes a hidden setting.

如果您知道该怎么办,则可以在下次启动时轻松静音。 但是要使声音永久静音,需要使用终端命令来更改隐藏设置。

如何临时禁用启动声音 (How to Temporarily Disable the Startup Sound)

Your Mac’s startup sound depends on the volume level your Mac was set to when it was shut down. If your Mac was set to maximum volume level, the boot chime will be played at maximum volume. If your Mac was muted, the startup chime will be silenced.

Mac的启动声音取决于Mac关机时设置的音量。 如果Mac设置为最大音量,则将以最大音量播放启动铃声。 如果您的Mac被静音,启动铃声将被静音。

To disable the startup sound, just press the “Mute” button on your keyboard (that’s the F10 key on a MacBook) before shutting down or restarting your Mac. If you ever have to restart your Mac for some reason but you don’t want it making any noise, just do this.

要禁用启动声音,只需在关闭或重新启动Mac之前按键盘上的“静音”按钮(在MacBook上为F10键)。 如果您由于某种原因不得不重启Mac,但又不希望它引起任何噪音,请执行此操作。

If you don’t have a Mute key on your keyboard, you can always just set the volume slider to the lowest level it will go. That accomplishes the same thing.

如果键盘上没有静音键,则始终可以将音量滑块设置为最低音量。 那完成了同样的事情。

如何永久禁用启动声音 (How to Permanently Disable the Startup Sound)

To permanently disable the startup sound so it isn’t played at startup, even if you have your volume level set to maximum volume when you shut down, you need to use a terminal command.

要永久禁用启动声音,以使其在启动时不会播放,即使关闭时将音量设置为最大音量,也需要使用终端命令。

To do this, open a Terminal window. Press Command + Space to open Spotlight search, type Terminal, and press Enter. Or, you can open a Finder window and head to Applications > Utilities > Terminal.

为此,请打开“终端”窗口。 按Command + Space打开Spotlight搜索,键入Terminal,然后按Enter。 或者,您可以打开Finder窗口并转到“应用程序”>“实用程序”>“终端”。

Run the following command in the terminal window:

在终端窗口中运行以下命令:

sudo nvram SystemAudioVolume=%80

Enter your password when prompted and press Enter. Restart your Mac and you won’t hear the sound.

出现提示时输入密码,然后按Enter。 重新启动Mac,您将听不到声音。

If you’d like to undo your change later and have the startup chime play normally when you boot your Mac, run the following command:

如果您想稍后撤消更改并在启动Mac时让启动提示音正常播放,请运行以下命令:

sudo nvram -d SystemAudioVolume

求助,命令无效! (Help, the Command Didn’t Work!)

Some people report that the above command doesn’t work on their Macs. If it didn’t silence the startup chime on your system, you may want to try running one of these other commands instead. These reportedly work for some people. This may be hardware-dependent, and certain commands may only work on certain hardware.

有人报告上述命令在Mac上不起作用。 如果它没有使系统上的启动提示音静音,则您可能需要尝试运行其他命令之一。 据报道,这些方法对某些人有用。 这可能取决于硬件,并且某些命令可能仅在某些硬件上起作用。

sudo nvram SystemAudioVolume=%01
sudo nvram SystemAudioVolume=%00
sudo nvram SystemAudioVolume=" "

(In the above command, that’s a single space character between the quotation marks.)

(在上面的命令中,这是引号之间的单个空格字符。)



Many websites say you can silence your Mac at boot by pressing the “Mute” button on your keyboard and holding it down right after you boot the Mac up. However, this didn’t work for us. Perhaps it only works on older versions of Mac OS X, or with older Mac hardware.

许多网站都说,您可以在启动Mac时通过按下键盘上的“静音”按钮并在Mac启动后立即按住使其静音,从而使Mac静音。 但是,这对我们不起作用。 也许它仅适用于旧版Mac OS X或旧版Mac硬件。

Bear in mind that you won’t hear the startup chime when resuming from sleep or standby mode. That’s another good reason to just put your Mac to sleep rather than completely shutting it down, although everyone needs to perform a full shutdown occasionally–if only for a system update.

请记住,从睡眠或待机模式恢复时不会听到启动提示音。 这是让Mac进入睡眠状态而不是将其完全关闭的另一个很好的理由,尽管每个人有时都需要执行一次完全关闭操作(如果只是为了系统更新)。

翻译自: https://www.howtogeek.com/260693/how-to-disable-the-boot-sound-or-startup-chime-on-a-mac/

mac禁用开机启动程序

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值