Skype 从控制台启动

Skype 从控制台启动

我使用 Linux Mind Debian Edition 2 'Betsy'。我使用了维基百科安装 Skype。

现在,只要我打开终端,Skype 就会打开。关闭控制台时,Skype 就会关闭。控制台是无用的,直到我打开它的第二个实例,而无用的控制台仍在运行。

为什么会这样?我该如何预防?

编辑:

谢谢,AFH,Bash 启动了 skype。我编辑了下面命令的输出,以避免发布超过两个链接。(在我至少有 10 个声誉点之前,我可能不会发布链接。)

george@pc ~ $ grep skype ~/.bash* ~/.profile /etc/bash* /etc/profile
/home/george/.bash_history:gdebi skype-install.deb
/home/george/.bash_history:gdebi skype-install.deb
/home/george/.bash_history:gdebi skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:gdebi /Downloads/skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:gdebi Downloads/skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo wget -O skype-install.deb skype.com /go/getskype-linux-deb
/home/george/.bash_history:sudo gdebi skype-install.deb
/home/george/.bash_history:sudo gdebi skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo gdebi skype-install.deb
/home/george/.bash_history:sudo dpkg -i skype-install.deb
/home/george/.bash_history:sudo dpkg -i skype-install.deb
/home/george/.bash_history:sudo dpkg -i skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo dpkg -i skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo dpkg -i skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo dpkg -i skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo apt-get remove skype skype-bin:i386 skype:i386
/home/george/.bash_history:sudo gdebi skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:skype
/home/george/.bash_history:sudo skype
/home/george/.bash_history:echo "LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/ /usr/bin/skype" >> ~/.bashrc
/home/george/.bash_history:skype
/home/george/.bash_history:skype
/home/george/.bash_history:skype
/home/george/.bash_history:skype.exe
/home/george/.bash_history:sudo dpkg -i skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:wget thhp:download.skype.com/linux/skype-ubunto- precise_4.3.0.37-1_i386.deb
/home/george/.bash_history:wget download.skype.com/linux/skype-ubunto- precise_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo wget download.skype.com/linux/skype- ubunto-precise_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo gdebi skype-dbian_4.3.0.37-1_i386.deb
/home/george/.bash_history:sudo gdebi skype-debian_4.3.0.37-1_i386.deb
/home/george/.bash_history:wget -O skype-install.deb www.skype.com /go/getskype-linux-deb
/home/george/.bash_history:sudo dpkg -i skype-install.deb
/home/george/.bashrc:LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/ /usr/bin/skype
grep: /etc/bash_completion.d: Is a directory

答案1

您可以忽略这些.bash_history条目:它们是您之前输入的命令,除了从命令行之外不会再次调用。

事实上问题出在这行:

/home/george/.bashrc:LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/ /usr/bin/skype

此命令设置环境变量LD_LIBRARY_PATH然后运行/usr/bin/skype,这就是您所观察到的。

假设/usr/lib/i386-linux-gnu/是正确的环境变量值,它肯定不应该跟在skype调用后面,因此请删除空格及其后面的内容。

相关内容