个人工具

“UbuntuHelp:TeamSpeak”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的6个中间版本)
第2行: 第2行:
 
{{Languages|UbuntuHelp:TeamSpeak}}
 
{{Languages|UbuntuHelp:TeamSpeak}}
 
== Introduction ==
 
== Introduction ==
This is a howto on installing, configuring and running [[UbuntuHelp:TeamSpeak|TeamSpeak]] under Ubuntu-x86.
+
This is a howto on installing, configuring and running TeamSpeak under Ubuntu-x86.
Thanks to JConnell and his tread for mostly all info on this subject: http://www.ubuntuforums.org/showthread.php?t=16361&highlight=[[UbuntuHelp:TeamSpeak|TeamSpeak]]
+
Since Feisty, Teamspeak client and server packages are available in the Ubuntu repositories. If you are unable to install Teamspeak from the repositories, you can still install manually; for that, see JConnell's forum thread at http://www.ubuntuforums.org/showthread.php?t=16361&highlight=TeamSpeak
== Download [[UbuntuHelp:TeamSpeak|TeamSpeak]] ==
+
== Download and install TeamSpeak ==
To download the [[UbuntuHelp:TeamSpeak|TeamSpeak]] client, open a terminal and execute one of these two commands:
+
To install the TeamSpeak client, run Synaptic or your favorite package manager, and install the 'teamspeak-client' package. Once installed, you will find Teamspeak under Applications -> Internet -> Teamspeak.
<pre><nowiki>
+
== TeamSpeak links in Firefox ==
wget ftp://213.202.254.114/teamspeak/releases/ts2_client_rc2_2032.tar.bz2
+
</nowiki></pre>
+
<pre><nowiki>
+
wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_client_rc2_2032.tar.bz2
+
</nowiki></pre>
+
Or find it yourself on the [http://www.goteamspeak.com/downloads.php [[UbuntuHelp:TeamSpeak|TeamSpeak]] website]
+
== Install [[UbuntuHelp:TeamSpeak|TeamSpeak]] ==
+
Open a terminal and cd to the directory where you saved the install file
+
Then run these commands:
+
<pre><nowiki>
+
tar -jxf ts2_client_rc2_2032.tar.bz2
+
cd ts2_client_rc2_2032
+
sudo chmod 755 setup.sh
+
sudo ./setup.sh
+
</nowiki></pre>
+
Choose this install path: /opt/TeamSpeak2RC2 (Should be the default)
+
== Run [[UbuntuHelp:TeamSpeak|TeamSpeak]] ==
+
You can create a link, which makes [[UbuntuHelp:TeamSpeak|TeamSpeak]] run with one commands like this:
+
<pre><nowiki>
+
sudo ln -s /opt/TeamSpeak2RC2/[[UbuntuHelp:TeamSpeak|TeamSpeak]] /usr/bin/
+
</nowiki></pre>
+
Now you can execute [[UbuntuHelp:TeamSpeak|TeamSpeak]], just by writing <code><nowiki>[[UbuntuHelp:TeamSpeak|TeamSpeak]]</nowiki></code>
+
== [[UbuntuHelp:TeamSpeak|TeamSpeak]] links in Firefox ==
+
 
If you want to open <code><nowiki>teamspeak://</nowiki></code> links with firefox then do this:
 
If you want to open <code><nowiki>teamspeak://</nowiki></code> links with firefox then do this:
# Launch firefox and type <code><nowiki>about:config</nowiki></code> in the address bar
+
<ol><li>Launch firefox and type <code><nowiki>about:config</nowiki></code> in the address bar
# Right-click and select New->String
+
</li><li>Right-click and select New->String</li></ol>
 +
 
 
Name: <code><nowiki>network.protocol-handler.app.teamspeak</nowiki></code>
 
Name: <code><nowiki>network.protocol-handler.app.teamspeak</nowiki></code>
Value: <code><nowiki>[[UbuntuHelp:TeamSpeak|TeamSpeak]]</nowiki></code>
+
Value: <code><nowiki>TeamSpeak</nowiki></code>
 
1.#3 Right-click and select New->Boolean
 
1.#3 Right-click and select New->Boolean
 
Name: <code><nowiki>network.protocol-handler.external.teamspeak</nowiki></code>
 
Name: <code><nowiki>network.protocol-handler.external.teamspeak</nowiki></code>
 
Value: <code><nowiki>true</nowiki></code>
 
Value: <code><nowiki>true</nowiki></code>
1.#4 Now you can open teamspeak:// links, which will automaticly launch [[UbuntuHelp:TeamSpeak|TeamSpeak]] and connect to the specified server when you click them!
+
1.#4 Now you can open teamspeak:// links, which will automatically launch TeamSpeak and connect to the specified server when you click them!
 
== Troubleshooting ==
 
== Troubleshooting ==
If you are unable to get sound in [[UbuntuHelp:TeamSpeak|TeamSpeak]] or [[UbuntuHelp:TeamSpeak|TeamSpeak]] is hogging the sound from other applications, then you will need to run [[UbuntuHelp:TeamSpeak|TeamSpeak]] with the <code><nowiki>aoss</nowiki></code> command, because the Linux version of TeamSpeak is based on OSS, which doesn't support software mixing, and therefor one needs to use [[UbuntuHelp:alsa-oss]], which channels OSS applications through ALSA, making them them work more or less like regular ALSA programs.
+
If you are unable to get sound in TeamSpeak or TeamSpeak is hogging the sound from other applications, then you will need to run TeamSpeak with the <code><nowiki>aoss</nowiki></code> command. The Linux version of TeamSpeak is based on OSS, which doesn't support software mixing. Therefore you need to use [[UbuntuHelp:alsa-oss|alsa-oss]], which channels OSS applications through ALSA, making them them work more or less like regular ALSA programs.
 +
To run Teamspeak through ALSA always, you should edit your Launcher links to add 'aoss' to the front of the command. E.g. the command becomes "aoss teamspeak". If you run Teamspeak from the Applications menu, go to System, Preferences, then Main Menu, and find Teamspeak under Internet. Then click Teamspeak, click Properties, and modify the command accordingly.
 +
'''If you run TS2 with the `aoss` option, and you still aren't able to get sound in more than one application, look at your kernel -- it is possible that the driver that is loaded via autodetection is not the best driver for your actual chipset.'''
 +
''If you are using !PulseAudio, replace `aoss` with `padsp` to achieve the same effect.''
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 20:47的最新版本

Introduction

This is a howto on installing, configuring and running TeamSpeak under Ubuntu-x86. Since Feisty, Teamspeak client and server packages are available in the Ubuntu repositories. If you are unable to install Teamspeak from the repositories, you can still install manually; for that, see JConnell's forum thread at http://www.ubuntuforums.org/showthread.php?t=16361&highlight=TeamSpeak

Download and install TeamSpeak

To install the TeamSpeak client, run Synaptic or your favorite package manager, and install the 'teamspeak-client' package. Once installed, you will find Teamspeak under Applications -> Internet -> Teamspeak.

TeamSpeak links in Firefox

If you want to open teamspeak:// links with firefox then do this:

  1. Launch firefox and type about:config in the address bar
  2. Right-click and select New->String

Name: network.protocol-handler.app.teamspeak Value: TeamSpeak 1.#3 Right-click and select New->Boolean Name: network.protocol-handler.external.teamspeak Value: true 1.#4 Now you can open teamspeak:// links, which will automatically launch TeamSpeak and connect to the specified server when you click them!

Troubleshooting

If you are unable to get sound in TeamSpeak or TeamSpeak is hogging the sound from other applications, then you will need to run TeamSpeak with the aoss command. The Linux version of TeamSpeak is based on OSS, which doesn't support software mixing. Therefore you need to use alsa-oss, which channels OSS applications through ALSA, making them them work more or less like regular ALSA programs. To run Teamspeak through ALSA always, you should edit your Launcher links to add 'aoss' to the front of the command. E.g. the command becomes "aoss teamspeak". If you run Teamspeak from the Applications menu, go to System, Preferences, then Main Menu, and find Teamspeak under Internet. Then click Teamspeak, click Properties, and modify the command accordingly. If you run TS2 with the `aoss` option, and you still aren't able to get sound in more than one application, look at your kernel -- it is possible that the driver that is loaded via autodetection is not the best driver for your actual chipset. If you are using !PulseAudio, replace `aoss` with `padsp` to achieve the same effect.