search
HomeComputer TutorialsTroubleshootingTutorial on turning off the sound when starting up an Apple computer

When an Apple computer is turned on, there will be a "boom" sound, which is sometimes very scary and meaningless. So how to turn off the sound when the Apple computer turns on? We only need to use the command in the terminal to turn it off.

How to turn off the startup sound of Apple computers:

1. First, click on the "little rocket" button in the dock bar at the bottom.

Tutorial on turning off the sound when starting up an Apple computer

#2. Then open the "Other" folder.

Tutorial on turning off the sound when starting up an Apple computer

3. Then we open the “Terminal”

Tutorial on turning off the sound when starting up an Apple computer

4. After opening, we first enter “sudo vim /Library/Scripts/sound-off.sh" and press Enter to open the text editor.

Tutorial on turning off the sound when starting up an Apple computer

#5. Then we enter the following command in the text editor (note that the format is maintained). After the input is completed, save the text editor and exit.

#!/bin/bash
osascript -e 'set volume output muted 1'

Tutorial on turning off the sound when starting up an Apple computer

6. Then open the terminal and enter "sudo vim /Library/Scripts/sound-on.sh" to open the text.

7. This time enter in the text:

#!/bin/bash
osascript -e 'set volume 5'

Tutorial on turning off the sound when starting up an Apple computer

##8. After saving, open the terminal and enter "sudo chmod u x /Library/Scripts/sound-off.sh" and "sudo chmod u x /Library/Scripts/sound-on.sh"

9. Press Enter and then enter "sudo defaults write com.apple.loginwindow LogoutHook /Library/Scripts/sound-off.sh"

10. Finally enter "sudo defaults write com.apple.loginwindow LoginHook /Library /Scripts/sound-on.sh" and press Enter to turn off the startup sound.

Tutorial on turning off the sound when starting up an Apple computer

The above is the detailed content of Tutorial on turning off the sound when starting up an Apple computer. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:系统家园. If there is any infringement, please contact admin@php.cn delete
Windows 10 KB5055612: New Features & What if It Failed to InstallWindows 10 KB5055612: New Features & What if It Failed to InstallMay 02, 2025 pm 08:01 PM

This non-security update, KB5055612 for Windows 10 version 22H2 and related versions, released April 22, 2025, offers several quality improvements. This guide details installation and troubleshooting steps. KB5055612: Key Improvements This update enh

Unlock Helpful Methods to Fix KB5055642 Not InstallingUnlock Helpful Methods to Fix KB5055642 Not InstallingMay 02, 2025 pm 06:01 PM

Troubleshooting KB5055642 Installation Problems on Windows 11 This guide offers solutions for users encountering issues installing Windows 11 Insider Preview Build 26200.5562 (KB5055642), released April 21, 2025. This update introduces enhanced featu

How to fix Windows update error 0xca00a000?How to fix Windows update error 0xca00a000?May 02, 2025 pm 06:00 PM

Updates are vital to ensure that a Windows system runs well and is protected from potential outside threats, such as software vulnerabilities. Unfortunately, Wi

Learn How to Resolve Steam Invalid Platform Error on WindowsLearn How to Resolve Steam Invalid Platform Error on WindowsMay 01, 2025 pm 06:01 PM

Encountering the Steam "Invalid Platform" error? This MiniTool guide offers several solutions to get you back in the game. This frustrating error typically means your game is incompatible with your operating system. Understanding the Error

How to fix Xbox app error 0x80073cf9 in Windows?How to fix Xbox app error 0x80073cf9 in Windows?May 01, 2025 am 02:00 AM

The Windows Xbox app lets you manage your Game Pass library, view friends, and launch PC games from one place. Its a hub of Microsofts gaming experience, especi

Fix VMWare Slow System Performance in Windows 11Fix VMWare Slow System Performance in Windows 11Apr 30, 2025 pm 08:14 PM

VMware Workstation on Windows 11: Troubleshooting Slow Performance Experiencing sluggish system performance after installing VMware Workstation on your Windows 11 desktop? This guide offers practical solutions to resolve this common issue. Quick Nav

Community Tips for Oblivion Remastered Low FPS/Stuttering PCCommunity Tips for Oblivion Remastered Low FPS/Stuttering PCApr 30, 2025 pm 08:13 PM

Many players have encountered frustrating low FPS, stuttering, and lagging issues in Oblivion Remastered. This MiniTool guide offers several effective solutions to boost your gameplay performance. Quick Navigation: Oblivion Remastered Performance Pr

Proven Fixes and Tips for Unarc.dll Error Code 11 on WindowsProven Fixes and Tips for Unarc.dll Error Code 11 on WindowsApr 30, 2025 pm 08:12 PM

Troubleshooting the Unarc.dll Error Code 11 in Windows Many gamers encounter the frustrating unarc.dll error code 11 during game installations. This error arises because the unarc.dll file, responsible for unpacking compressed installation files, is

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment