EDIT: Seems like beta-20 is working well with Ubuntu 10.4. Use the ts3client_runscript.sh (make sure you change directory to the TeamSpeak directory first).
After digging in the Ubuntu forums (can't find the exact post link), I came with the following solution:
- Extract the client (cd /opt && sh ~/Downloads/TeamSpeak3-Client-linux_amd64-3.0.0-beta8.run)
- Create the following script
#!/bin/bash
# Make teamspeak work on Ubuntu (basically disable pulseaudio before launching)
conf=$HOME/.pulse/client.conf
backup="${conf}.bak"
if [ -f "$conf" ]; then
mv "$conf" "$backup"
fi
echo "autospawn = no" > "$conf"
pulseaudio --kill
cleanup() {
rm "$conf"
if [ -f "$backup" ]; then
mv "$backup" "$conf"
fi
pulseaudio -D
}
cd /opt/TeamSpeak3-Client-linux_amd64/
./ts3client_linux_amd64&
pid=$!
trap "kill -9 $pid; cleanup" SIGINT SIGTERM
wait $pid
cleanup
4 comments:
this is exactly what pasuspender is for, its included in pulseaudio-utils on debian
I've tried pasuspender, however when I run teamspeak under it and try to open the settings menu - teamspeak just freeze.
Post a Comment