Kar*_*ngh 7 command-line skype
请让我知道是否有人知道如何从终端或任何其他方式登录 Linux Mint 上的 Skype?
我尝试了很多,但没有找到。
Desktop # ./skype.desktop
./skype.desktop: line 1: [Desktop: command not found
./skype.desktop: line 3: Internet: command not found
./skype.desktop: line 4: fg: no job control
./skype.desktop: line 9: Application: command not found
./skype.desktop: line 11: X-KDE-Protocols=skype: command not found
Run Code Online (Sandbox Code Playgroud)
这些skype.desktop文件不适合您运行。要调用,skype您应该能够简单地输入skype终端或通过此处的完整路径运行它:
$ /usr/bin/skype
Run Code Online (Sandbox Code Playgroud)
以a结尾的.desktop文件是你桌面的配置文件,不是你直接执行的。例如,请参见此处:
$ more /usr/share/applications/skype.desktop
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=skype %U
Icon=skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/skype;
X-KDE-Protocols=skype
Run Code Online (Sandbox Code Playgroud)
您可以尝试使用gnome-open ./skype.desktop或xdg-open ./skype.desktop。这些曾经可以工作,但似乎存在一个存在一段时间的错误,这破坏了这两个命令处理.desktop文件的能力。请参阅题为:在终端中运行 .desktop 文件的AU 问答,了解更多信息。
使用exo-open ./skype.desktop对我有用。exo-open是 Xfce DE 的一部分,但会正确调用.desktop文件。
$ exo-open /usr/share/applications/skype.desktop
Run Code Online (Sandbox Code Playgroud)
使用gtk-launch skype.desktop /path/to/desktop/file也有效。
$ gtk-launch skype.desktop /usr/share/applications
Run Code Online (Sandbox Code Playgroud)
如果你看一下输出skype --help:
--pipelogin Command line login. "echo username password | skype --pipelogin"
Run Code Online (Sandbox Code Playgroud)
所以你可以像这样实现你想要的:
$ echo username password | skype --pipelogin
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
12309 次 |
| 最近记录: |