Nairobi GNU/Linux Users Group

A lively community of GNU/Linux enthusiasts

Stop Skype and PulseAudio From "Uncorking" Media Players


PulseAudio has a neat feature that allows applications to "uncork" media players like Rhythmbox, Banshee, etc when certain events happen. For example: when a call comes in Skype pauses your music so you can answer without fiddling around to pause manually. Unfortunately Skype also deems the "contact coming online" and "contact going offline" events as worthy of uncorking, so your music gets interrupted for several seconds when these events fire (aka all the time).

Unload the "cork" Module

A short term solution is to unload the corking module from your user's PulseAudio session:

$ pactl unload-module module-role-cork

That will take effect immediately for the remainder of the current user's session. A more permanent solution would be to comment out the loading of the "cork" module in PulseAudio's configuration file.

/etc/pulse/default.pa:

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

Other Annoyances

Now if only there were a way to address some other Skype annoyances like requiring the installation of a bunch of 32-bit libraries or how chat windows hijack the desktop environment's alt-tab ordering when there is a new message. Oh, it would also be nice if there wasn't massive, gaping backdoor giving the NSA access to your chats. *sigh*

This was originally posted on my personal blog; re-posted here for posterity.