11

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.

12

Had the same issue on Ubuntu 17.10 and fixed it with the following command:

rm ~/.config/autostart/skypeforlinux.desktop

And as Tim mentions here, disable autostart in the Skype settings because Skype will keep on adding the skypeforlinux.desktop file to the ~/.config/autostart directory.

[*] I know the question is about Ubuntu 14.04 but I came across this page while searching for a solution for Ubuntu 17

| improve this answer | |
4

Try running the following command:

rm .config/autostart/skype.desktop

It should remove it from starting automatically. You will also need to change the settings in skype, otherwise each time you open it, it is set to open automatically.

| improve this answer | |
  • cannot access .config/autostart/skype.desktop: No such file or directory – Ger Hooton Aug 29 '14 at 22:15
1

You can disable the autostart for Skype by setting changing following value to false in~/.config/autostart/skypeforlinux.desktop file

X-GNOME-Autostart-enabled=false
| improve this answer | |
0

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 ;-)

| improve this answer | |
0

Since 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.

| improve this answer | |
-2

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

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.

| improve this answer | |
  • Bash scripts must start with #!/bin/bash or they won't work. This is also a really messy solution. The stop script makes the software read-only and the start script allows read and execute in addition to write for the owner. I suggest not to use this answer. – Nmath Aug 11 at 17:30
  • please edit your answer and put the neccessary commands in a code section so that it can be more clear.. – kannzzmm2 Aug 16 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.