Kali Linux Install Skype: Difference between revisions

From WikiMLT
mNo edit summary
Line 2: Line 2:


== Download and Install Skype for Linux ==
== Download and Install Skype for Linux ==
{{media|1|Skype for Linux Settings General Tab.png}}
Skype for Desktop is available for Windows, Mac OS X and Linux. For Linux it is available as <code>snap</code>, <code>.rpm</code>, and <code>.deb</code> package. Kali is Debian based so we need the <code>.deb</code> package.
Skype for Desktop is available for Windows, Mac OS X and Linux. For Linux it is available as <code>snap</code>, <code>.rpm</code>, and <code>.deb</code> package. Kali is Debian based so we need the <code>.deb</code> package.


Line 11: Line 13:
== Add Shortcut on the Desktop ==
== Add Shortcut on the Desktop ==
<syntaxhighlight lang="shell" line="1">
<syntaxhighlight lang="shell" line="1">
cp /usr/share/applications/caprine.desktop ~/Desktop
cp /usr/share/applications/skypeforlinux.desktop ~/Desktop/Skype.desktop
</syntaxhighlight>Once the above command is executed, right click on the new icon and  choice on the <code>Allow Launching</code> option.
 
 
{{media|3|Инсталиране на Viber - Messenger - Skype 3.png|sz=220}}
* Официална страница на: [https://www.skype.com/en/get-skype/ Skype for Desktop] – от тук може да бъде свалена последната версия., като е възможно използването на <code>wget</code>.
 
* Подробни инструкции и алтернативни библиотеки: [https://askubuntu.com/a/932189/566421 Ask Ubuntu: How do I install Skype?]
* Инсталиране:
<syntaxhighlight lang="bash" style="overflow: hidden;">
cd ~/Downloads
wget https://go.skype.com/skypeforlinux-64.deb
sudo dpkg -i skypeforlinux*.deb
sudo apt install -f
 
rm skypeforlinux*.deb
 
# Деинсталиране:
#sudo apt-get remove skype*
 
# Възстановяване на изченала икона от trybar: https://askubuntu.com/a/871037/566421
#sudo apt-get install sni-qt:i386
sudo apt-get install libappindicator1
</syntaxhighlight>
</syntaxhighlight>
Once the above command is executed, right click on the new icon and  choice on the <code>Allow Launching</code> option.


* Стартиране при влизане в системата. Понеже настройката за автоматично стартиране не работи е създаден скрипт, който се стартира от <code>.desktop</code> файл във <code>Startup Applications</code> – на Фигура 3 са дадени настройките на приложението:
== Add to Autostart Applications ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="shell" line="1">
cat << EOF | sudo tee /usr/local/bin/skype.launcher && sudo chmod +x /usr/local/bin/skype.launcher
cp /usr/share/applications/skypeforlinux.desktop ~/.config/autostart/
#!/bin/sh
sleep 1
killall skypeforlinux > /dev/null 2>&1
sleep 1
killall skypeforlinux > /dev/null 2>&1
sleep 3
skypeforlinux &
sleep 5
xdotool windowminimize \$(xdotool search --name "skype" | tail -1)
EOF
</syntaxhighlight>
 
<syntaxhighlight lang="bash">
cat << EOF | tee $HOME/.config/autostart/skype.launcher.desktop
[Desktop Entry]
Type=Application
Exec=skype.launcher
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=SkypeCustomLauncher
Name=SkypeCustomLauncher
Comment= Launch Skype
EOF
</syntaxhighlight>
</syntaxhighlight>



Revision as of 11:45, 19 August 2022

Down­load and In­stall Skype for Lin­ux

Figure 1. Skype > Tools > Gen­er­al tab: Set­up Skype to au­to­mat­i­cal­ly start in the back­ground.

Skype for Desk­top is avail­able for Win­dows, Mac OS X and Lin­ux. For Lin­ux it is avail­able as snap, .rpm, and .deb pack­age. Kali is De­bian based so we need the .deb pack­age.

wget https://go.skype.com/skypeforlinux-64.deb -O ~/Downloads/skype.deb
sudo apt install ~/Downloads/skype.deb

Add Short­cut on the Desk­top

cp /usr/share/applications/skypeforlinux.desktop ~/Desktop/Skype.desktop

Once the above com­mand is ex­e­cut­ed, right click on the new icon and choice on the Al­low Launch­ing op­tion.

Add to Au­tostart Ap­pli­ca­tions

cp /usr/share/applications/skypeforlinux.desktop ~/.config/autostart/

Ref­er­ences