minimize skype after autostart

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












"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!










share|improve this question





















  • Please read: How can I show notify-send messages triggered by crontab? and Cron job to run python script at reboot does not work
    – pa4080
    Feb 10 at 8:55














up vote
0
down vote

favorite












"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!










share|improve this question





















  • Please read: How can I show notify-send messages triggered by crontab? and Cron job to run python script at reboot does not work
    – pa4080
    Feb 10 at 8:55












up vote
0
down vote

favorite









up vote
0
down vote

favorite











"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!










share|improve this question













"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!







cron skype autostart minimize






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 10 at 8:29









Александр Захаров

14




14











  • Please read: How can I show notify-send messages triggered by crontab? and Cron job to run python script at reboot does not work
    – pa4080
    Feb 10 at 8:55
















  • Please read: How can I show notify-send messages triggered by crontab? and Cron job to run python script at reboot does not work
    – pa4080
    Feb 10 at 8:55















Please read: How can I show notify-send messages triggered by crontab? and Cron job to run python script at reboot does not work
– pa4080
Feb 10 at 8:55




Please read: How can I show notify-send messages triggered by crontab? and Cron job to run python script at reboot does not work
– pa4080
Feb 10 at 8:55










2 Answers
2






active

oldest

votes

















up vote
1
down vote













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






share|improve this answer




















  • I have the latest version and it produces unclosable window if this option selected.
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
    Feb 10 at 11:21











  • Strange! Works fine here, Skype v8.15.0.4 on Ubuntu 17.10.
    – pomsky
    Feb 10 at 11:40










  • Same version, but Ubuntu 16.04. I googled this problem and I'm not the only one who faced it. Good opportunity to learn shell scripting:D
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
    Feb 10 at 11:49

















up vote
0
down vote



accepted










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






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004791%2fminimize-skype-after-autostart%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    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






    share|improve this answer




















    • I have the latest version and it produces unclosable window if this option selected.
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:21











    • Strange! Works fine here, Skype v8.15.0.4 on Ubuntu 17.10.
      – pomsky
      Feb 10 at 11:40










    • Same version, but Ubuntu 16.04. I googled this problem and I'm not the only one who faced it. Good opportunity to learn shell scripting:D
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:49














    up vote
    1
    down vote













    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






    share|improve this answer




















    • I have the latest version and it produces unclosable window if this option selected.
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:21











    • Strange! Works fine here, Skype v8.15.0.4 on Ubuntu 17.10.
      – pomsky
      Feb 10 at 11:40










    • Same version, but Ubuntu 16.04. I googled this problem and I'm not the only one who faced it. Good opportunity to learn shell scripting:D
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:49












    up vote
    1
    down vote










    up vote
    1
    down vote









    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






    share|improve this answer












    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







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 10 at 9:56









    pomsky

    23.5k773100




    23.5k773100











    • I have the latest version and it produces unclosable window if this option selected.
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:21











    • Strange! Works fine here, Skype v8.15.0.4 on Ubuntu 17.10.
      – pomsky
      Feb 10 at 11:40










    • Same version, but Ubuntu 16.04. I googled this problem and I'm not the only one who faced it. Good opportunity to learn shell scripting:D
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:49
















    • I have the latest version and it produces unclosable window if this option selected.
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:21











    • Strange! Works fine here, Skype v8.15.0.4 on Ubuntu 17.10.
      – pomsky
      Feb 10 at 11:40










    • Same version, but Ubuntu 16.04. I googled this problem and I'm not the only one who faced it. Good opportunity to learn shell scripting:D
      – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
      Feb 10 at 11:49















    I have the latest version and it produces unclosable window if this option selected.
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
    Feb 10 at 11:21





    I have the latest version and it produces unclosable window if this option selected.
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
    Feb 10 at 11:21













    Strange! Works fine here, Skype v8.15.0.4 on Ubuntu 17.10.
    – pomsky
    Feb 10 at 11:40




    Strange! Works fine here, Skype v8.15.0.4 on Ubuntu 17.10.
    – pomsky
    Feb 10 at 11:40












    Same version, but Ubuntu 16.04. I googled this problem and I'm not the only one who faced it. Good opportunity to learn shell scripting:D
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
    Feb 10 at 11:49




    Same version, but Ubuntu 16.04. I googled this problem and I'm not the only one who faced it. Good opportunity to learn shell scripting:D
    – ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ñ€ Захаров
    Feb 10 at 11:49












    up vote
    0
    down vote



    accepted










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






    share|improve this answer
























      up vote
      0
      down vote



      accepted










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






      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






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






        share|improve this answer












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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 11 at 12:13









        Александр Захаров

        14




        14



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004791%2fminimize-skype-after-autostart%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error