3

I am fairly new to Ubuntu and I installed Skype for Linux alpha yesterday in my Ubuntu 16.04 64-bit.

I added an entry in the startup applications using the command skypeforlinux -silent. Now, every time I start my system, skype windows opens maximized. I would like to know how to start it minimized to tray with system start.

Anwar
  • 76,649
rsnaveen
  • 181

2 Answers2

5

'Minimize to tray on startup' functionality has been integrated in the app and is fully functional from version 5.0.0.5. The app however is Skype for Linux Beta at this point.

rsnaveen
  • 181
1

You can make a script which starts skype on startup, and which then closes it "gracefully" using wmctrl -c. In my own scrypt I do something like this:

#!/bin/bash
skypeforlinux &
wmctrl -c Skype ;  sleep 0.5
wmctrl -c Skype ;  sleep 0.5
wmctrl -c Skype ; 
etc...

I some cases, skype takes some time to open, that's why I use multiple delayed commands wmctrl. Of course you have to make the script executable, using chmod u+x [SCRIPT_FILE], and then add it to the startup list. Also I use the nice program devilspie to rearrange all my windows at startup as I want.

derHugo
  • 3,356
  • 5
  • 31
  • 51
deegnot
  • 11