Apple - Can the macOS startup sound/chime/ bong be changed on a MacBook Pro?
You technically can't...
But there are a few things you can do instead.
Using a few techniques I picked up on the interwebs, I've figured out a way to both
- Disable the boot chime (seriously, I don't recommend this. This is here for debug purposes, disabling it can be a very bad plan)
- Run a sound at login (not boot - for some reason, at least in El Capitan, using
Afplay
at boot throughcrontab
and LaunchDaemons is not working. If someone else can get it to work, lemme know, I'll add it)
Disabling the boot chime
I seriously recommend not doing this. Debug is important, and if there's a hardware issue, you need to know what startup chime you have. Turn back, ye who fear.
- Go into Terminal.app.
- Run the command
sudo nvram SystemAudioVolume=%80
- This can be undone with
sudo nvram -d SystemAudioVolume
- Note that this does not work in OS X El Capitan (because changes ಠ_ಠ)
- This can be undone with
The boot chime is now disabled.
Adding a login chime
- Go into Automator.app.
- Hit New Document
- Select Application, and hit Choose.
- Drag Run Shell Script in the second left-hand column into the main pane.
- Type in the command
obviously replacingAfplay -q 1 /path/to/sound/file
/path/to/sound/file
with the path to the sound file. - Save as an Application and place it in your Applications folder.
- Quit Automator.app
- Go to System Preferences.
- Click on Users and Groups.
- Click on your user in the left-hand-most column.
- If necessary, click the lock in the lower-left corner to allow for a preferences change.
- Click the + underneath the main pane on the right.
- Select the Application you just made and hit Add.
- Click the Hide checkbox.
That's it.
You now have no startup chime(use caution) and a login chime. Hooray!