Skip to content

Instantly share code, notes, and snippets.

@daudix
Last active June 21, 2023 01:07
Show Gist options
  • Save daudix/8a36865dc744d119b3c947d2b5a1b60d to your computer and use it in GitHub Desktop.
Save daudix/8a36865dc744d119b3c947d2b5a1b60d to your computer and use it in GitHub Desktop.
Turn off Mac boot chime

Antichime - Mute Mac boot chime

Warning I'm not responsible if something will go wrong, use at your own risc

Download the script and make it executable

chmod +x antichime.sh

Run the script, the boot chime should be muted, reboot to check

To turn the chime back reset NVRAM:

  • Turn Mac off
  • Turn Mac on
  • Immediatly hold Option Command P R for 20 seconds
  • Mac will reboot multiple times and the sound will appear
#!/usr/bin/env bash
# Antichime - Mute Mac boot chime
# Make "chime" value mutable
sudo chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
# Change "chime" value to "muted"
sudo printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
# Make "chime" value immutable again
sudo chattr +i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
printf "\nBoot chime have been muted (hopefully)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment