1

"Launch skype in the background" is not an option now so I'm trying to bypass it. I tried to add this line to the autostart file:

&& sleep 5 && xdotool windowminimize $(xdotool search --onlyvisible --class Skype)

but this command opens skype as an empty window and I dunno why.

I tried to make a cron:

@reboot sleep 60 && xdotool windowminimize $(xdotool search --onlyvisible --class Skype)

It doesn't work as well and I dunno why.

Can you tell me why these options doesn't work for me and how to make them behave itself? :D

Tnank you!

  • Please read: [How can I show notify-send messages triggered by crontab?](https://askubuntu.com/questions/978382/how-can-i-show-notify-send-messages-triggered-by-crontab/978413#978413) and [Cron job to run python script at reboot does not work](https://askubuntu.com/questions/970771/cron-job-to-run-python-script-at-reboot-does-not-work/970795#970795) – pa4080 Feb 10 '18 at 08:55

2 Answers2

2

This seems to be an XY problem. Newer versions of Skype does support starting in the background. Go to Tools > Settings and toggle on "Launch Skype in the background".

enter image description here

pomsky
  • 67,112
  • 21
  • 233
  • 243
0

I updated to 17.10 and switched from Unity to Gnome. It fixed the problem.