macfidelity

|

rethinking the think-different thing

mac | How to mute your trash in Mac OS X

May 4th, 2009 at 0:10

20090504_mute_trash_01

One thing i really dislike in Mac OS X is the non-existing sound handling. While other operating systems offer an easy interface to configure individual sounds for specific events Apple seems to ignore this topic completely.

The following article explains an easy solution how to mute your trash (remove the trash sound in Mac OS Leopard).

Sound Handling

Before we are getting wild in terminal a short comparison between Mac OS Leopard and Windows XP

Mac OS X

If you want to mess with sounds in Mac OS X you have to start in System Preferences.app

20090504_mute_trash_02

So lets take a look into the sound PrefPane

20090504_mute_trash_03

20090504_mute_trash_04

20090504_mute_trash_05

hell yeah … that’s everything Apple offers us …. Shame on you. So lets check what the Redmond dudes do regarding the sound.

Windows XP

The Windows XP images are localized in german (a topic which Apple handles much better then Microsoft) – unfortunately i don’t have an english Windows XP around – but i guess my main point comes out anyways.

20090504_mute_trash_06

20090504_mute_trash_07

20090504_mute_trash_08

20090504_mute_trash_09

20090504_mute_trash_10

Lots of options – Thanks to Redmond. I could solve the initial Task (muting the trash) with about 5 mouse-clicks.

Conclusion

Simple as pie …. Apple fails horrible with Leopard which was released in 2007 in comparison to Windows XP which was released 6 years before (2001).

Mute Trash in Mac OS X

Now let’s focus on the main task of this post – muting the trash sound – which is pretty annoying from my point of view.

Locate the sounds files

As Apple does NOT provide any interface for that task we have to mess around with system files.

Therefore we need to know where the trash sound is located:

/System/Library/Components/CoreAudio.component

Now select that file and do a right-click, which should end in the following dialog

20090504_mute_trash_11

After selecting Show Package Contents a new Finder windows should appear. Inside that package navigate to

/System/Library/Components/Coreaudio.component/contents/Resources/SystemSounds/finder

20090504_mute_trash_12

There you should have the following two files

empty trash.aif

and

move to trash.aif

Yes – that’s the two bloody bastard sounds.

Idea

The idea is simple:

We just remove those files and keep a copy as a backup.

Now we have 2 options to solve the task

  • GUI based -> Finder
  • Terminal based -> Terminal

Finder

Duplicate empty trash.aif & move to trash.aif and then delete the original files.

As result you should see something like that

20090504_mute_trash_13

Edit: Adding a prefix into the filenames might be better then adding a suffix ;)

Terminal

From my point f view – Terminal is the way to go. If you are used to it its even faster then the GUI-based approach. In general we just need to rename (using the move command mv) the sound files and we are done

The following image shows the rename’ing of empty trash.aif to OFFempty trash.aif

20090504_mute_trash_14

That’s it

Resume

Removing system files is far away from perfect but right now the only REAL solution i know – thanks to Ice|House for pointing our this idea at all.

This could result in problems if an Apple Update would come with a new version of CoreAudio.component. In that case just re-do the steps described above.

Some users might prefer Bleep Blop! which can be used to customize all your OS X sounds through an interface but i didn’t like that idea and the interface at all to be honest.

Let’s hope Apple reworks this 90-year-style sound interface in Snow Leopard – but i bet they don’t.

Tags: , , , , , ,

7 Responses to “mac | How to mute your trash in Mac OS X”

  1. Apple Iphone; Touch the Best of Multimedia ! | False Favourites Says:

    [...] mac | How to tongue-tied your rabble in Mac OS X | macfidelity [...]

  2. Another python Blog » SlackBlogs: Slackpkg and Python Effects Says:

    [...] mac | How to mute your trash in Mac OS X | macfidelity [...]

  3. steve Says:

    I’ve used this trick before on Leopard but for some reason it’s not working for me on Snow Leopard. I’ve deleted these two files and restarted…even so, the sounds are still there. Any other place to look? I hate that move to trash sound.

    ReplyReply
  4. fidel Says:

    @steve

    the sounds did re-appear once for me too – not sure if that was update related or not as it is “long” time ago ;)

    Not sure whats the solution now in 10.6 – but going to take a look tomorrow.

    Best Regards
    fidel

    ReplyReply
  5. fidel Says:

    Hi Steve,

    not sure if that helps – but if i search my os-harddrive with easyfind for the filename empty trash.aif i get 2 hits. the one discussed in the article above and in addition in

    /System/Library/Components/CoreAudio.component/Contents/Resources/CoreAudioAUUI.bundle/Contents/Resources/empty trash.aif

    Maybe that’s the way to go – please make sure you know what you are doing at that point of package-editing (note to the other readers)

    I guess you would need to search for more strings in filenames containig ‘trash’ or similar if this second sound is not the real source either.

    Best regards
    fidel

    ReplyReply
  6. steve Says:

    Thanks. I found that, too, and deleted the “move to trash.aif” in that package but still the annoying sound remains. That’s what’s weird. Now I’m annoyed at the mystery, too!

    ReplyReply
  7. fidel Says:

    @Steve
    personally i would always prefer to rename the files – deleting them is somehow critical at least without backups.

    anyway – you could start a search for all .aif files now (sound ugly) and try to locate the file. Another idea is using fseventer – a free app which allows you to trace filesystem event. But that path is most likely not that easy if you aren’t sure what your keywords are besides ‘trash’, ‘aif’ & maybe ‘Finder’

    Best Regards
    fidel

    ReplyReply

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>