I have Ubuntu 14.04 with cinnamon. When I login skype auto launches and I want to stop that. I looked in Startup Applications but cannot find it.
Had the same issue on Ubuntu 17.10 and fixed it with the following command:
And as Tim mentions here, disable autostart in the Skype settings because Skype will keep on adding the
skypeforlinux.desktop file to the
[*] I know the question is about Ubuntu 14.04 but I came across this page while searching for a solution for Ubuntu 17
This will not help (at least not in my Ubuntu 16.04 LTS) because skype automatically activates itself in the Startup Applications every time it is used. You can stop starting skype by adding a command that will kill skype on startup after skype has started itself:
In the Unity Dash, type: startup and click (under Applications) on "Startup Applications" (this will open "Startup Application Preferences".
Click on "Add" and type under Name: z-kill skype (the "z" at the beginning will make sure that it is further down in the list of applications than skype, and thus starts /after/ skype has started)
and type under Command: killall -9 skypeforlinux (this will kill "skypeforlinux" -- if your skype program has a different name in a different linux version, you have to type in that name)
Good luck! And enjoy your linux without skype imposing on startup ;-)
skypeforlinux will now atomatically recreate the file
~/.config/autostart/skypeforlinux.desktop every time it is started, we now need another way to prevent that.
Here is what worked on my case:
rm ~/.config/autostart/skypeforlinux.desktop mkdir ~/.config/autostart/skypeforlinux.desktop
What will this do? The first command will remove the auto-created
.desktop file that makes
skypeforlinux autostart on session startup.
The second command will create a directory what
skypeforlinux normally creates its autostart file. This will prevent
skypeforlinux from being able to create the autostart file.
Yes, it is kind of dirty and you are left with an empty directory in
~/.config/autostart, but it does get the job done.
create a skypestop.sh file and make it executable. put this in:
sudo chmod 444 /usr/share/skypeforlinux/skypeforlinux
to start skype create a start file like skypestart.sh:
sudo chmod 755 /usr/share/skypeforlinux/skypeforlinux
when u finish using it run skypestop.sh and that is it
if your skype software is upgrades run skypestop.sh again as the upgrade overwrites the attributes.