Ok this is tested on hardy with standard pulse audio setup, its a bit clunky but I prefer it over dmix hacks.
Create a script
gedit ~/bin/pause_pulse
Make it executableCode:#!/bin/sh # temporarily pause pulseaudio so I can use Skype or whatever pasuspender -- /usr/bin/zenity --info --text "Click OK to resume Pulseaudio"
chmod +x ~/bin/pause_pulse
Ok now setup skype
- Fire up skype goto options
- Goto notifications tab
- Click the advanced view button
- Select Incoming ring call
- check the "execute script" checkbox
- paste in ~/bin/pause_pulse (this might require the full path)
- click apply
- Select Outgoing ring call
- check the "execute script" checkbox
- paste in ~/bin/pause_pulse (this might require the full path)
- click apply
That's it.. when a call starts you that will trigger pasuspender.. just click the button to start pulse sound again
It not perfect but I can at least use skype again...
EDIT: Also useful is to make a panel icon that runs the script.. gives you a bit more control
Bookmarks