Skip to content

Instantly share code, notes, and snippets.

@fragtion
Created March 14, 2025 23:51
Show Gist options
  • Save fragtion/092a62e12d5fe856e45708bd278fc693 to your computer and use it in GitHub Desktop.
Save fragtion/092a62e12d5fe856e45708bd278fc693 to your computer and use it in GitHub Desktop.
macbook-disable-chime-from-linux
#Gain sudo privileges with
sudo -su
#Remove immutable bit from the efi variable that controlls the Startup Sound / Chime to make it editable
chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
# Set that efi-variable to 00 to disable the startup sound
printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment