Skype:修订间差异
无编辑摘要 |
|||
(没有差异)
|
2010年7月17日 (六) 12:42的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Skype }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/af | • {{#if: UbuntuHelp:Skype|Afrikaans| [[::Skype/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ar | • {{#if: UbuntuHelp:Skype|العربية| [[::Skype/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/az | • {{#if: UbuntuHelp:Skype|azərbaycanca| [[::Skype/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/bcc | • {{#if: UbuntuHelp:Skype|جهلسری بلوچی| [[::Skype/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/bg | • {{#if: UbuntuHelp:Skype|български| [[::Skype/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/br | • {{#if: UbuntuHelp:Skype|brezhoneg| [[::Skype/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ca | • {{#if: UbuntuHelp:Skype|català| [[::Skype/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/cs | • {{#if: UbuntuHelp:Skype|čeština| [[::Skype/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/de | • {{#if: UbuntuHelp:Skype|Deutsch| [[::Skype/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/el | • {{#if: UbuntuHelp:Skype|Ελληνικά| [[::Skype/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/es | • {{#if: UbuntuHelp:Skype|español| [[::Skype/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/fa | • {{#if: UbuntuHelp:Skype|فارسی| [[::Skype/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/fi | • {{#if: UbuntuHelp:Skype|suomi| [[::Skype/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/fr | • {{#if: UbuntuHelp:Skype|français| [[::Skype/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/gu | • {{#if: UbuntuHelp:Skype|ગુજરાતી| [[::Skype/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/he | • {{#if: UbuntuHelp:Skype|עברית| [[::Skype/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/hu | • {{#if: UbuntuHelp:Skype|magyar| [[::Skype/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/id | • {{#if: UbuntuHelp:Skype|Bahasa Indonesia| [[::Skype/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/it | • {{#if: UbuntuHelp:Skype|italiano| [[::Skype/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ja | • {{#if: UbuntuHelp:Skype|日本語| [[::Skype/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ko | • {{#if: UbuntuHelp:Skype|한국어| [[::Skype/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ksh | • {{#if: UbuntuHelp:Skype|Ripoarisch| [[::Skype/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/mr | • {{#if: UbuntuHelp:Skype|मराठी| [[::Skype/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ms | • {{#if: UbuntuHelp:Skype|Bahasa Melayu| [[::Skype/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/nl | • {{#if: UbuntuHelp:Skype|Nederlands| [[::Skype/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/no | • {{#if: UbuntuHelp:Skype|norsk| [[::Skype/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/oc | • {{#if: UbuntuHelp:Skype|occitan| [[::Skype/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/pl | • {{#if: UbuntuHelp:Skype|polski| [[::Skype/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/pt | • {{#if: UbuntuHelp:Skype|português| [[::Skype/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ro | • {{#if: UbuntuHelp:Skype|română| [[::Skype/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/ru | • {{#if: UbuntuHelp:Skype|русский| [[::Skype/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/si | • {{#if: UbuntuHelp:Skype|සිංහල| [[::Skype/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/sq | • {{#if: UbuntuHelp:Skype|shqip| [[::Skype/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/sr | • {{#if: UbuntuHelp:Skype|српски / srpski| [[::Skype/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/sv | • {{#if: UbuntuHelp:Skype|svenska| [[::Skype/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/th | • {{#if: UbuntuHelp:Skype|ไทย| [[::Skype/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/tr | • {{#if: UbuntuHelp:Skype|Türkçe| [[::Skype/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/vi | • {{#if: UbuntuHelp:Skype|Tiếng Việt| [[::Skype/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/yue | • {{#if: UbuntuHelp:Skype|粵語| [[::Skype/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/zh | • {{#if: UbuntuHelp:Skype|中文| [[::Skype/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/zh-hans | • {{#if: UbuntuHelp:Skype|中文(简体)| [[::Skype/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Skype | UbuntuHelp:Skype | {{#if: | :}}Skype}}/zh-hant | • {{#if: UbuntuHelp:Skype|中文(繁體)| [[::Skype/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Skype|:Skype|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Skype/zh | | {{#ifexist: Skype/zh | | {{#ifeq: {{#titleparts:Skype|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Skype|1|-1|}} | zh | | }}
介绍
Skype是一款能让你使用电脑通过互联网拨打电话的专用软件。Skype使用了分散点对点技术,所以你的电话不是通过一个中心服务器,而是通过分布式服务器群和其他用户传递。它使用了其专有的通信协议来实现这点。另外,所有的通信均使用端到端加密以防他人窃听。Skype软件是自由使用的,但它并不是免费软件;其源代码是私有并不可修改的。 更多有关Skype的信息见Wikipedia。Skype官方站点是http://www.skype.com。 SkypeEthics给出了一些信息以说明为什么有些用户选择不使用Skype。 使用开源协议的开源可替代软电话包括Ekiga,Twinkle和Wengophone。 你需要一套可工作的声音输入和输出配置以使用Skype。 大多数的现代电脑拥有外置的声音输出,但是你需要一个麦克风(或头戴设备,当你没有购买麦克风时)作为输入。为了播放你的面容,你可能还需要一个网络摄像头。 有关发行于Ubuntu上的Skype详细信息的连接能够在下面的资源中找到。
安装Skype
Skype不包含在任何一个Ubuntu软件库中,因此不能通过使用不带Skype库的Ubuntu的包管理软件如Synaptic
和 apt-get
。这里有两种选择-Skype库,或Medibuntu库。
通过使用软件库,你能够自动获得软件未来的升级。
如果你不想这样做,或不能(例如,如果你使用了AMD64),也许最简单的安装方式是使用可直接从Skype网站获得的Debian(.deb)包。相对的是,你不会自动获得今后的更新,你需要在有新版本的时候下载他们。
Skype库
- 添加Skype库*:
deb http://download.skype.com/linux/repos/debian/ stable non-free
- 重载或升级包信息
- 安装
skype
包。
Medibuntu库
- 更多信息见Medibuntu。
关于添加,移除和修改库的信息,见Repositories/Ubuntu
Debian包
- 从http://www.skype.com/download 下载Debian包
- 打开文件(将会通过缺省的GDebi包安装器打开)。
- 点击安装按钮。
如果有依赖错误
sudo apt-get install libqt4-dbus<pre> === AMD64 === 对 8.04: <ol><li>安装ia32-libs包(从公用组件中) </li><li>下载Ubuntu使用的Skype包 (http://skype.com/download/skype/linux/) </li><li>安装: sudo dpkg --install --force-architecture --force-depends <downloaded_package></li></ol> == 运行Skype == 要启动Skype,选择'''应用程序->互联网->Skype'''。它通常需要一至两分钟启动,你可能会认为什么都没发生,所以要耐心等待。当Skype窗口最终打开,注册(如有必要)并登录进你的Skype帐号。测试你的配置,通过选择<code>回响/声音测试服务</code>联络人(如果没有,添加联络人<code>echo123</code>)并点击在Skype窗口下端的绿色大按钮。如果连接建立并且你听到了声音,则你的声音配置是正常的。如果你不能听见声音,见如下的疑难解答节。 == Skype疑难解答 == 如果你有音频问题,首先检查确保系统的音频工作正常并且你的麦克风和喇叭的音量足够大。如果仍然无效,尝试替换Skype音频设备,如果最终所有均失败,修改你的ESD配置。 === 音频问题 === ==== 1. 音量 ==== <ol><li>通过<code>声音首选项</code>对话窗测试输出是否正常。选择'''系统->首选项->音效'''。</li><li>通过<code>录音机</code>程序测试麦克风输入是否正常。选择'''应用程序->影音->录音机'''。</li><li>通过选择'''应用程序->影音->音量控制'''确保你的音频输出和麦克风输入通道没有被静音。</li></ol> ==== 2. Skype 音频设备 ==== 如果你的音量经过了适当的配置并且你可以在Skype中听到声音,但你的联系人不能听到你的输入,你可能需要更改Skype的输入设备。从Skype的菜单中,选择'''工具->选项'''然后在打开的对话框中选择<code>头戴/耳机</code>。如果他们是可用的,尝试选择不同的<code>呼叫</code>。 ==== 3. ALSA 配置 ==== Enabling ALSA gives you the choice to workaround some Skype issues: The present Skype Linux release (1.2.0.18) uses OSS sound, which means it allows '''only one application to access sound device'''. On some systems, OSS is not even used by default, which means you won't be able to select the OSS sound device ('''/dev/dsp''') at all, because it does not exist. Worse off, it has a bug that makes Skype '''unusable after a call'''. Sometimes a few calls can be made, before it happens, but later only solution is to restart Skype. Technically it seems that Skype "forgets" to close the sound device before trying to open it again and therefore locks up. This seems to happen when '''you''' are the first to hang up and not when the other party hangs up first, so a workaround is to just wait at the end of a call and let the other party finish first. To avoid these issues, you can use ALSA instead of ESD. First, follow the guidelines found in [http://www.ubuntuforums.org/showthread.php?t=32063]. Then follow up with [http://juljas.net/linux/skype/]. Good luck! Note that the above forum post howto is for Hoary/Breezy. This should, according to [http://www.ubuntuforums.org/showpost.php?p=1143531&postcount=1089 mdz's post], not be an issue in Ubuntu 6.06 (Dapper). ===== 3.1 软件混音的另一个可能的解决办法 ===== If none of the other options works, try this one (it's working on a HP Pavilion dv1000). Taken from http://forum.skype.com/viewtopic.php?t=48195 Create or add the following to your .asoundrc file: <pre> gedit ~.asoundrc
Add the following text to it
pcm.skype { type asym playback.pcm "skypeout" capture.pcm "skypein" } pcm.skypein { # Convert from 8-bit unsigned mono (default format set by aoss when # /dev/dsp is opened) to 16-bit signed stereo (expected by dsnoop) # # We can't just use a "plug" plugin because although the open will # succeed, the buffer sizes will be wrong and we'll hear no sound at # all. type route slave { pcm "skypedsnoop" format S16_LE } ttable { 0 {0 0.5} 1 {0 0.5} } } pcm.skypeout { # Just pass this on to the system dmix type plug slave { pcm "dmix" } } pcm.skypedsnoop { type dsnoop ipc_key 1133 slave { # "Magic" buffer values to get skype audio to work # If these are not set, opening /dev/dsp succeeds but no sound # will be heard. According to the alsa developers this is due # to skype abusing the OSS API. pcm "hw:0,0" period_size 256 periods 16 buffer_size 16384 } bindings { 0 0 } }
Create a skype launcher (in this example is going to be at your home directory).
gedit ~/skype.sh
add the following text
#/usr/bin/sh ALSA_OSS_PCM_DEVICE="skype" aoss /usr/bin/skype --disable-dbus
Give skype.sh execution rights by browsing with Nautilus over there, right click on the file, go to Properties, go to Permissions tab, and select "Execute" for the user. Double click on the file and you should be done.
视频问题
For troubleshooting video issues on Skype, the following wiki pages may be helpful:
端口使用
Skype uses port 80 by default, and thus, may block some other applications that use the same port such as Apache. The solution is to change the port in one of the applications. Usually, port 81 is free and works fine. To change the port number in Skype go to menu Tools > Options, then click on the Advanced tab, then in the 'port' box, change to your preference.
无效指针
Some very few users have experienced the inability to normally start Skype 1.3 under Dapper, receiving the following error:
*** glibc detected *** free(): invalid pointer: 0x08aab8a0 ***
The pointer's address might vary on install or version, the only common factor exhibited by all people receiving the error is that all of them use SCIM to be able to input in one of various asian languages (some users exhibit this while using scim for Chinese, others when using it to input in Japanese so the language itself seems not to be important, only the presence of scim is). A few of these same persons report success in running a statically compiled version of the Skype 1.3 client. Others have shown success in changing the XIM input preferences during Skype launch by launching Skype (from either the command line or Gnome's/Kde's menu) with this command:
XMODIFIERS=@im=none QT_IM_MODULE=xim skype
This will hinder (read, remove) your ability to use scim to type in a foreign language inside Skype itself, but it will also most probably permit you to run Skype normally. If you use SCIM as your default input method, and you are unable to run Skype you could try these solutions and see if they solve the problem.
系统的短暂挂起(几秒内)
Skype apparently creates FIFO threads when initiating a chat with someone. Users members of the admin group (typically the user who has installed Ubuntu) are likely to find this really annoying as the created threads do not relinquish the CPU easily. The first option (maybe the easiest) is to remove yourself from the admin group. You may otherwise intercept calls to pthread_create() with a preloaded (LD_PRELOAD) DSO:
#define _GNU_SOURCE 1 #include <dlfcn.h> #include <pthread.h> #include <stdio.h> #include <string.h> int (* orig_pthread_create) (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg) = NULL; static void change_sched_policy (pthread_attr_t *attr) { int policy; if (attr == NULL) return; pthread_attr_getschedpolicy (attr, &policy); if (policy == SCHED_FIFO) { printf ("### SCHED_FIFO policy changed to SCHED_RR\n"); pthread_attr_setschedpolicy (attr, SCHED_RR); } } int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg) { pthread_attr_t new_attr; if (orig_pthread_create == NULL) { orig_pthread_create = dlsym (RTLD_NEXT, "pthread_create"); } change_sched_policy (attr); return orig_pthread_create ( thread, attr, start_routine, arg ); }
Compile the above source code with gcc -shared -o libskype.so skype.c
and launch Skype as follow:
export LD_LIBRARY_PATH=path_to/libskype.so:/usr/lib/libqt-mt.so.3 /usr/bin/skype
My work colleagues and I have tested this on Ubuntu Edgy Eft and we haven't seen, so far, any side effects.
Skype 启动失败
Skype has a conflict when the Nessus scanner is installed. When opening Skype from the command line the following error occurs:
Skype会和已经安装好的Nessus扫描仪有冲突。当你从终端(也就是所谓命令行模式-其实一个意思)打开Skype的时候,会显示出现错误(如下所示):
skype: symbol lookup error: /usr/lib/libQtNetwork.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
The solution is to edit /etc/ld.so.conf and comment out the line /opt/nessus/lib and then run sudo ldconfig.
解决办法是编辑/etc路径(理解成文件夹也可以啊!)下的文件 ld.so.conf,把/opt/nessus/lib 这一行注释掉(就是让这行不起作用的意思啦~),接着再执行一下sudo ldconfig
打开ld.so.conf
sudo nano /etc/ld.so.conf
Put a # infront of the line /opt/nessus/lib. Save and exit.
找到/opt/nessus/lib这一行,在这行开头加一个井号(#),然后保存并退出。
include /etc/ld.so.conf.d/*.conf #/opt/nessus/lib
Run
好了,执行sudo ldconfig
sudo ldconfig
Now Skype should open.
现在,Skype应该可以打开了。
显示配置
Because Skype is a Qt application, Skype's typeface will appear very large on GNOME desktops. You can use either the kcontrol
or the qt3-qtconfig
package to configure the appearance of Skype and other KDE/QT applications. Of these two, the QT Configurator (qt3-qtconfig
) has far fewer dependencies than kcontrol
and may therefore be more convenient for people who mostly use non-KDE software. See also QtGnome for how to make Skype (and other Qt applications) look more like Gnome.
- A quick fix, without installing any configuration packages at all, is to make a file
qtrc
in your$HOME/.qt
directory, and put these two lines in it:
[General] font=Bitstream Vera Sans Mono,9,-1,5,50,0,0,0,0,0
- You can start QT Configurator with the "
qtconfig
" command. On the "Fonts" tab, choosing Font Family Sans Serif and Point Size 10 will give something that resembles Ubuntu's GNOME desktop. - If you install the
kcontrol
package, you may run it by enteringkcontrol
into theApplications/Run Application...
prompt. Expand theAppearance & Themes
menu and selectFonts
. PressAdjust All Fonts
and selectSize
. Lower this value to your preference (size 10 or 11 is usually satisfactory). PressOK
andApply
and exit the KDE Control Center.
资源
- The Skype homepage http://www.skype.com/
- Skype article on Wikipedia: http://en.wikipedia.org/wiki/Skype
- The Skype forum, a good source of info on Skype and troubleshooting too
- A discussion on Skype forum of the dependency problem
http://forum.skype.com/viewtopic.php?t=38474&postdays=0&postorder=asc&start=0
- A discussion on Ubuntu forum of the dependency problem
http://www.ubuntuforums.org/showthread.php?t=81831
- A description of and workaround for the sound problem: http://juljas.net/linux/skype/. Note that this solution requires you to compile a C program.
- Skype takes a long time to load? (change command to "skype --disable-dbus") http://forum.skype.com/viewtopic.php?t=47838
- https://wiki.ubuntu.com/SkypeEthics
System hangs for a short while