How to mute/delete startup sound in Mountain Lion?

Is there a way to shut off/mute the startup sound in Mountain Lion without simply turning down all sounds?  For years I have used a third party pref pane called startup sound, but it has not been updated for OS 10.8.  Thanks.

1. Login as administrator and open Terminal
2. Create scriptfile for muting
sudo nano /path/to/mute-on.sh
3. Enter this as content, when done press Ctrl+O to save and Ctrl+X to exit:
#!/bin/bash
osascript -e 'set volume with output muted'
4. Create scriptfile for unmuting
sudo nano /path/to/mute-off.sh
5. Enter this as content, when done press Ctrl+O to save and Ctrl+X to exit:
#!/bin/bash
osascript -e 'set volume without output muted'
6. Make both files executable:
sudo chmod u+x /path/to/mute-on.sh
sudo chmod u+x /path/to/mute-off.sh
7. Check if any hooks already exist (these will be overwritten, so make sure it is OK for you)
sudo defaults read com.apple.loginwindow LoginHook
sudo defaults read com.apple.loginwindow LogoutHook
8. Add hooks for muting
sudo defaults write com.apple.loginwindow LogoutHook /path/to/mute-on.sh
sudo defaults write com.apple.loginwindow LoginHook /path/to/mute-off.sh

Similar Messages

  • How do I mute the startup sound

    How do I mute the startup sound on my imac

    The start up sound is there for specific reasons, for example if you do a Safe Boot or PRAM reset  you need the start up sound to do those key functions. I would recommend against masking it and follow Apple's suggestions.  Please read your owners manual, where Apple states:
    Putting Your iMac to Sleep
    If you‘ll be away from your iMac for less than a few days, put it to sleep. When your iMac is in sleep, its screen is dark. You can quickly wake your iMac and bypass the startup process.
    This means don't turn it off, my iMac is about 5 years old now. The only time it's restarted is when I'm doing updates, it has reliably that way and has never given me any problems. In short, let it sleep when it's not being used.

  • How to silence the startup sound?

    My MacPro emits the startup chord, loundly, from the internal speaker. All other sounds come from the external speakers. When I get home late it's like to wake the dead if I turn on my Mac.
    This did not work this way before, the startup sound played through the external speakers and I could turn them down.
    Any ideas how to kill the startup sound or make it play through the external speakers?
    Thanks.

    Well, you know that's a funny thing, because I didn't actually intend to mute the startup chime. I just wanted it routed to the external speakers where I could control the volume properly, like the first poster. But the chime doesn't sound out of my external speakers. I don't hear it at all.
    And I don't care. If my Mac fails some test, it isn't going to work right, I'll find out about it anyway. I also don't care because in 20 years of owning Macs, if there was a problem with my Mac I can't remember any of them being due to a failed self test, it was usually a hard disk failure or something on the motherboard while I still got the normal startup chime. The power on self test does not, for example, tell PowerBook G4 owners about the widespread problem that their lower RAM slot has failed. I just haven't found the chime to be useful, while many users find it to be extremely annoying. Apple could just flash the front panel LED differently.
    The only time I've ever heard the failed self test tones is when I've played them back from some web page or utility that tells you what they mean.

  • I deleted accidentally a purchased mountain lion

    i deleted accidentally a purchased mountain lion from the list of purchase items. How i can search my purchased osx lion?

    Have a look at this:
    http://support.apple.com/kb/HT4928
    particularly the "unhiding purchase" part.
    Maybe this will fix your problem?
    charlie

  • HT1444 How long does it take to download Mountain Lion

    How long does it take to download Mountain Lion

    Just as an example, on a 15Mbps download speed, approximately 2 to 2-1/2 hours.
    Keep in mind, for downloading Mountain Lion from the App Store, a high speed (broadband) internet connection is strongly recommended by Apple as noted here > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    If you need to reinstall OS X or repair the the startup disk using Mountain Lion Recovery, that requires broadband access to the internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the internet form Apple when OS X Recovery is used for reinstallation.

  • How long does it take to download mountain lion upgrade?

    how long does it take to download the upgrade for mountain lion

    Keep in mind, for downloading Mountain Lion from the App Store, a high speed (broadband) internet connection is strongly recommended by Apple as noted here > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    If you need to reinstall OS X or repair the the startup disk using Mountain Lion Recovery, that requires broadband access to the internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the internet form Apple when OS X Recovery is used for reinstallation.

  • I have an old 1st gen express. Airport utilities 6.3 won't set it up. How do I set it up in Mountain lion?

    I have an old 1st gen express. Airport utilities 6.3 won't set it up. How do I set it up in Mountain lion?

    I have an old 1st gen express
    Please check on the side of the Express and locate the Model No.
    A 1st Gen AirPort Express is Model No A1264.
    AirPort Utility 6.3 will definitely set up a 1st Gen AirPort Express.
    Is this what you have?

  • How do I configure OS X Server (Mountain Lion) to deliver mail from another domain to my mailbox?

    How do I configure OS X Server (Mountain Lion) to deliver mail from another domain to my mailbox?
    I run a personal Server at my office. It's configured under my own domain as server.mydomain.com. It's setup that it properly receives and sends e-mail for mydomain.com. I use my own mailbox [email protected] to get all my personal mail.
    I'm looking to add another domain as a secondary way for people to get to my content and information.
    I want the same address [email protected] and [email protected] to arrive in the same mailbox at my server.
    How do i do that?

    it does look like you can add virtual domains in the GUI of Server.app on at least some versions, but I don't have an OS X Server 10.8 version handy to check.
    I'd encourage spending some time to learn the command line.  In general, the payoff for learning the command line will be worth the effort expended.  You're running a mail server here and sooner or later the capabilities of the GUI will fail you.  This whether due to a configuration omission in the GUI itself, or due to the need to troubleshoot a malfunctioning mail server, a need to automate one or more of the Postfix-related sequences, or some other IT-related task.  Entirely FWIW, of course.
    Here's a cut-and-paste of the sequence just used to test the command line access to the Postfix configuration, first fetching the current value, appending example.com as the second domain, then displaying the new value, then restarting the Postfix server.  Don't enter the dollar signs; just the postconf command and following.  Adjust example.com to match your domain...
    $ postconf mydestination
    mydestination = $myhostname, localhost.$mydomain, localhost
    $ sudo postconf -e 'mydestination = $myhostname, localhost.$mydomain, localhost, example.com'
    Password: {your admin password here}
    $ postconf mydestination
    mydestination = $myhostname, localhost.$mydomain, localhost, example.com
    $ sudo postfix reload
    The Postfix and Postconf commands work irrespective of the OS X Server version; the tools reference the data files as needed.

  • How do I redeem my code for Mountain Lion OS X when I can't find a redeem button in the Mac App store anywhere please?

    How do I redeem my code for Mountain Lion OS X when I can't find a redeem button in the Mac App store anywhere please?
    How do I find the redeem button?  What do I have to do?

    Welcome to Apple Support Communities
    Open the Mac App Store and press the Redeem button:

  • HT4718 I had a copy of Mountain Lion on my late 2008 MacBook Pro, having replaced Lion which it came with. But the drive,crashed, so I replaced the drive and reinstalled Lion from the original disks I had. How do I get another copy of Mountain Lion?

    I had a copy of Mountain Lion on my late 2008 MacBook Pro, having replaced Lion which it came with. But the drive crashed, so I replaced the drive and reinstalled Lion from the original disks I had. How do I get another copy of Mountain Lion?

    A 2008 Mac won't have originally shipped with Lion. You need to install 10.6.8 on the computer, log into the Mac App Store with the Apple ID you used to purchase Mountain Lion, click on the Purchases tab, and download it.
    (121465)

  • How do I upgrade to OS X Mountain Lion for free?

    How do I upgrade to OS X Mountain Lion for free? I just bought a new Mac Book Pro 5 days ago with OS X Lion. The Apple store said I could download the new OS for free by entering the receipt # and total amount of the purchase.  I don't know where to start or where to enter this information.  Please help.

    Hi,
    Just go to http://www.apple.com/osx/uptodate/ if in the US otherwise go to main Apple homepage, click on the 'Mountain Lion is here' icon then scroll to the bottom where it says 'Get a free upgrade with your new Mac'. All the info should be there. I did this myself yesterday and am now awaiting my coupon code to get it for free.

  • My Mac has a OS X operating system. (10.6.8) How can I upgrade its system to Mountain Lion so I can then add the ICloud?

    My Mac has a OS X operating system. (10.6.8) How can I upgrade its system to Mountain Lion so I can then add the ICloud? Also, does the ICloud include virus protection for files already on my Mac?

    You can purchase and download Mountain Lion in the App Store (in your 'Applications' folder), then just run the installer: however you should first check that Mountain Lion can indeed run on your Mac. Please see this page:
    http://www.apple.com/osx/specs/
    You might also want to look at this page to see whether any vital applications will be adversely affected:
    http://roaringapps.com/apps:table
    In particular note that PPC applications such as AppleWorks will not run on Mountain Lion since Rosetta is not included and can't be added.

  • How to download but not install OSX Mountain Lion on Mavericks

    Hi all
    I would like to download but not install OSX Mountain Lion on my MBP which is currently running OSX Mavericks.
    This however seems impossible. I think OSX Mavericks were already installed on my MBP and therefore it seems "impossible" to download it.
    Now, why would I to do this? The answer is quite reasonable, due to certain demands related to an application portfolio I need Mountain Lion, because the portfolio is not upgraded to run on Mavericks. And, it is more reasonable to downgrade a version of OSX, rather waiting for the portfolio upgrade which can take years.
    Yes, I need to downgrade my secondary MBP which also came with preinstalled Mavericks. This can be done, if I only could download but not install Moutain Lion.
    It should be easy enough; download Mountain Lion, make an installer and make a bootable thumb usb stick. Then erase Mavericks and install Mountain Lion.
    I have previously bought Mountain Lion so it is accessible to me in the App Store, but whenever I try to hit the Download button, I get a message saying this can't be done, since I am running Mavericks.
    This bugs me, it should be obvious users needs the flexibility to swap whatever OSX version they need. It is still software.
    So, how can I download but not install Mountain Lion on my newer MBP that came with preinstalled Mavericks?
    I would like to see answers like:
    "In order to get this to work, you first have to disable the locking mechanism in [...] " instead of "No, this is impossible to do"
    Regards

    Thanks for your reply Eric
    Can't help wondering thought, people are ok with this?
    Basically Apple are saying: "Do not attempt to install an older version of OSX which came preinstalled. If so, expect multiple failures." Really?! Has it always been so? For me it's not like I'm going to install Snow Leopard on my Late 2013 Retina MBP, but I would expect some form of backward compatibility between the previous version and it successor. Apparently this is not possible, and how is this even acceptable? 
    Personally, I am not going to downgrade, as if I had a choice, but I would and I expected however, the possibility to at least download the previous OSX version. What do you do if you have bought several applications, not necessarily online from App Store and buy yourself a new Mac with preinstalled Mavericks and after installing your "old" applications they fail to work properly? What do you do since downgrading apparently is not an option. So... again, what do you do? 
    If you don't have friends with an older Mac, you could be facing serious problems. And I'm not talking about gaming, but serious business. 
    I find this quite disturbing actually, and please tell me it's not so. There gotta be a way to do this?
    I simply want to download the OS but I expect some registry values (like windows' registry) keeps preventing this.
    It should be possible to simply download and not download and install in one operation, shouldn't it?
    Regards

  • HT200117 I'm running Mac OS X 10.5.8. How do I upgrade to OS X Mountain Lion???

    I'm running Mac OS X 10.5.8. How do I upgrade to OS X Mountain Lion??? Help please!

    http://www.apple.com/osx/specs See if your computer is compatible. Then, call Apple and buy Snow Leopard. Make a backup, insert the install DVD and upgrade. Finally, update Snow Leopard, open App Store and purchase Mountain Lion

  • How to display library folder permanently in mountain lion

    How to display library folder pemanently in Mountain Lion 10.8.2

    On OS X Lion and Mountain Lion, ~/Library is hidden. If you want to show it always on Finder, open Terminal and type: chflags nohidden ~/Library
    After typing that, the Library folder will appear on the user folder, on Finder. Apart, Apple has released OS X 10.8.3 with new features and fixes, so open Software Update and install the OS X update

Maybe you are looking for

  • Reading from XML file using DOM parser.

    Hi, I have written the following java code to read the XML file and print the values. It reads the XML file. It gets the node NAME and prints it. But it returns null when trying to get the node VALUE. I am unable to figure out why. Can anyone please

  • Bootcamp assistant problem

    Bootcamp assistant will not let me past the *introduction page* when trying to install Windows XP. When I click "Continue" it states "you cannot partition an external disk drive. Restart your computer using your computers start up disk." I had tried

  • Want a fixed analog audio output from new mini

    I have the mini to rca cable

  • Hard drive settings for Ultra 2, IBM DNES-309170, 390-0007 drives

    I recently acquired an Ultra 2 workstation without hard drives. I found some working IBM DNES-309170 drives from a Dell Pentium 2 server and see that they are Sun part 390-0007 for use in the Ultra 2. When I try to load Solaris 8, an error appears th

  • MEM_BAD_POINTER when calling VI with LVRT adapter

    Hi, I'm using TestStand 2010 and LabVIEW 2010. One test (sequence) calls VIs that control Agilent 16900A logic analyzer: run and stop (Stop VI is attached for example). These VIs use ActiveX - LA COM Automation client software. Everything worked prop