Created
March 14, 2025 23:51
-
-
Save fragtion/092a62e12d5fe856e45708bd278fc693 to your computer and use it in GitHub Desktop.
macbook-disable-chime-from-linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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