mac | How to mute your trash in Mac OS X
May 4th, 2009 at 0:10
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

So lets take a look into the sound PrefPane



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.





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

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

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

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

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: 10.5, CoreAudio, CoreAudio.component, empty trash.aif, move to trash.aif, system preferences, trash



May 4th, 2009 at 15:16
[...] mac | How to tongue-tied your rabble in Mac OS X | macfidelity [...]
May 5th, 2009 at 16:17
[...] mac | How to mute your trash in Mac OS X | macfidelity [...]
April 21st, 2010 at 21:59
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.
April 21st, 2010 at 22:07
@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
April 22nd, 2010 at 18:27
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
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
April 22nd, 2010 at 19:30
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!
April 22nd, 2010 at 19:41
@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