Comment 16 for bug 354705

Revision history for this message
sqlpython (sqlpython) wrote :

To get jaunty 9.04 w/PulseAudio to show mic in Skype Options.....
I wrote this script to launch Skype which utilizes the
PULSE_SERVER variable
You feed the PULSE_SERVER your IPaddress for your connected device..
As you can see, for me my devices are eth0 and wlan0
Modify the script devices to your needs.
A simple ifconfig <deviceName> ...i.e. ifconfig eth0 will give back the info for that device then we just parse it ...
NOTE: I have installed my Skype in a Particular Dir /home/sqlpython/skype..
......If yours is in a different Dir CHange the Script..
...Also for Notification Sounds Move the /home/sqlpython/skype/sounds dir to
..../usr/share/skype/ .. You probably will have to create that one in as sudo user of Konqueror or Nautilus
Even with all this PulseAudio and SKype work poorly together as they will hog CPU% and result in squashing all other playbacks while Skype is connected to another Skype User VOIP.. like if you are streaming Radio music or just trying to Play a Music CD at the same time..
To put it in eloquent technical terms "PulseAudio Stinks"
In the end for my 8.10 and 9.04 installs I will probably uninstall Pulse.
Here You Go... Mic in Skype.
Quote:
#!/bin/bash

ifconfig wlan0 | grep "inet addr" | cut -d: -f2 | cut -d" " -f1 $1
ifconfig eth0 | grep "inet addr" | cut -d: -f2 | cut -d" " -f1 $2
if [ $1 -gt $2 ]
then
echo $1
PULSE_SERVER=$1 /home/sqlpython/skype/skype
fi
if [ $2 -gt $1 ]
then
echo $2
PULSE_SERVER=$2 /home/sqlpython/skype/skype
fi