How to make Firefox auto launch at startup in fullscreen on Linux Ubuntu?

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











up vote
1
down vote

favorite












Firefox Ready



Objective



I want my ubuntu to start and show a Duck Duck Go in fullscreen.



Motivation



The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T and do things in the terminal. I want Firefox to start and be ready for me to work on.



Ethics



Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.



Initial Hypothesis



I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.



Updates



20:56:44 15/08/18: I am learning the commands available for Firefox from here.



21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox “www.duckduckgo.com”. I only need to find a way to make it open in fullscreen now.



21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefox’s commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I don’t know if that will be as easy or not. And using a plugin is not favourable firstly because I don’t want every Firefox launch to be in fullscreen and secondly I don’t want to install another plugin.










share|improve this question





















  • What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
    – glenn jackman
    Aug 15 at 19:44











  • Yes its gnome @glennjackman
    – Kanaujia
    Aug 21 at 18:56














up vote
1
down vote

favorite












Firefox Ready



Objective



I want my ubuntu to start and show a Duck Duck Go in fullscreen.



Motivation



The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T and do things in the terminal. I want Firefox to start and be ready for me to work on.



Ethics



Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.



Initial Hypothesis



I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.



Updates



20:56:44 15/08/18: I am learning the commands available for Firefox from here.



21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox “www.duckduckgo.com”. I only need to find a way to make it open in fullscreen now.



21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefox’s commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I don’t know if that will be as easy or not. And using a plugin is not favourable firstly because I don’t want every Firefox launch to be in fullscreen and secondly I don’t want to install another plugin.










share|improve this question





















  • What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
    – glenn jackman
    Aug 15 at 19:44











  • Yes its gnome @glennjackman
    – Kanaujia
    Aug 21 at 18:56












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Firefox Ready



Objective



I want my ubuntu to start and show a Duck Duck Go in fullscreen.



Motivation



The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T and do things in the terminal. I want Firefox to start and be ready for me to work on.



Ethics



Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.



Initial Hypothesis



I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.



Updates



20:56:44 15/08/18: I am learning the commands available for Firefox from here.



21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox “www.duckduckgo.com”. I only need to find a way to make it open in fullscreen now.



21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefox’s commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I don’t know if that will be as easy or not. And using a plugin is not favourable firstly because I don’t want every Firefox launch to be in fullscreen and secondly I don’t want to install another plugin.










share|improve this question













Firefox Ready



Objective



I want my ubuntu to start and show a Duck Duck Go in fullscreen.



Motivation



The first thing that I do on my PC is launch the Firefox and do stuff. For other stuff I hit the ctrl+alt+T and do things in the terminal. I want Firefox to start and be ready for me to work on.



Ethics



Saving Time, Making the computer have a better workflow for a person like me [someone who spends most of his time using the browser], serving my laziness.



Initial Hypothesis



I can make linux run Firefox using some commands at startup which will make it run in fullscreen and have opened the Duck Duck Go page.



Updates



20:56:44 15/08/18: I am learning the commands available for Firefox from here.



21:12:15 15/08/18: Done with commands. The command to start Firefox with default user and make it launch Duck Duck Go is firefox “www.duckduckgo.com”. I only need to find a way to make it open in fullscreen now.



21:35:48 15/08/18: There is no way fullscreen launch can be performed using firefox’s commands. Neither does linux have any command to make Firefox launch in fullscreen. I might need to either send a keystroke F11 or use some plugin to accomplish this. But sending a keystore needs moe than one command and I don’t know if that will be as easy or not. And using a plugin is not favourable firstly because I don’t want every Firefox launch to be in fullscreen and secondly I don’t want to install another plugin.







shell-script ubuntu startup firefox fullscreen






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 15 at 16:24









Kanaujia

133




133











  • What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
    – glenn jackman
    Aug 15 at 19:44











  • Yes its gnome @glennjackman
    – Kanaujia
    Aug 21 at 18:56
















  • What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
    – glenn jackman
    Aug 15 at 19:44











  • Yes its gnome @glennjackman
    – Kanaujia
    Aug 21 at 18:56















What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
– glenn jackman
Aug 15 at 19:44





What desktop environment are you using? GNOME? I believe each one has its own mechanism to auto-start apps.
– glenn jackman
Aug 15 at 19:44













Yes its gnome @glennjackman
– Kanaujia
Aug 21 at 18:56




Yes its gnome @glennjackman
– Kanaujia
Aug 21 at 18:56










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Write a miniscript with xdotool:



#!/bin/sh
firefox &
xdotool search --sync --onlyvisible --pid $! windowactivate key F11





share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f462779%2fhow-to-make-firefox-auto-launch-at-startup-in-fullscreen-on-linux-ubuntu%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Write a miniscript with xdotool:



    #!/bin/sh
    firefox &
    xdotool search --sync --onlyvisible --pid $! windowactivate key F11





    share|improve this answer
























      up vote
      0
      down vote













      Write a miniscript with xdotool:



      #!/bin/sh
      firefox &
      xdotool search --sync --onlyvisible --pid $! windowactivate key F11





      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        Write a miniscript with xdotool:



        #!/bin/sh
        firefox &
        xdotool search --sync --onlyvisible --pid $! windowactivate key F11





        share|improve this answer












        Write a miniscript with xdotool:



        #!/bin/sh
        firefox &
        xdotool search --sync --onlyvisible --pid $! windowactivate key F11






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 15 at 16:44









        Ipor Sircer

        9,2731920




        9,2731920



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462779%2fhow-to-make-firefox-auto-launch-at-startup-in-fullscreen-on-linux-ubuntu%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay