How to start firefox in fullscreen mode?












20















how do i start firefox 4 in fullscreen mode (the one activated by pressing f11)?










share|improve this question





























    20















    how do i start firefox 4 in fullscreen mode (the one activated by pressing f11)?










    share|improve this question



























      20












      20








      20


      3






      how do i start firefox 4 in fullscreen mode (the one activated by pressing f11)?










      share|improve this question
















      how do i start firefox 4 in fullscreen mode (the one activated by pressing f11)?







      firefox






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 21 '11 at 15:13







      Lincity

















      asked Apr 21 '11 at 15:01









      LincityLincity

      17.4k28112147




      17.4k28112147






















          8 Answers
          8






          active

          oldest

          votes


















          15














          on Linux (works on debian jessie):



          firefox -url http://superuser.com &
          xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11


          firefox line - starts firefox with url and detaches from terminal ("&"). "&" is required, otherwise following script won't execute while firefox exits.



          xdotool line searches window with partial name "Firefox" (partial name of running app window can be determinated by xwininfo), activates firefox window, sends key F11 to Firefox.



          This code is bit better than YumYumYum's solution (sending key only when firefox actualy started. sleep is not really usable approach, cause can miss firefox on slow/overloaded computers or too late on fast computers)



          sorry for late answer (missed 6 years)






          share|improve this answer
























          • Works like a charm on Ubuntu 16

            – rrschmidt
            Sep 12 '17 at 6:39



















          6














          Create a new profile by running:



          firefox -ProfileManager


          Run firefox with the new profile, move to full screen using F11 and then close it by alt + f4



          Each time you will use this profile it will be opened in full screen.






          share|improve this answer


























          • Do not forget the "-no-remote" option if you already have a running instance of Firefox: "firefox -ProfileManager -no-remote"

            – Wilbert
            Nov 15 '12 at 8:31











          • After making the profile and closing Firefox in full screen mode you can use "firefox -P 'Session Name' -no-remote" to start Firefox in full screen mode.

            – Wilbert
            Nov 15 '12 at 8:37






          • 1





            Does not work for me (in 2016)

            – Karel Bílek
            Feb 4 '16 at 11:37











          • @KarelBílek just installed it and it works!

            – Mike Szyndel
            Feb 16 '16 at 10:48











          • @MichalSzyndel interesting! I will try it again

            – Karel Bílek
            Feb 17 '16 at 3:11



















          4














          Command Line



          Firefox command line option -fullscreen didn't work for me:



          "firefox.exe" -url http://superuser.com -fullscreen



          • MDN - Command Line Options

          • MozillaZine - Command line arguments




          Extension



          But the use of R-kiosk 0.9.0 extension by Kimmo Heinaaro works like a charm.




          Real Kiosk is a Firefox extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home.







          share|improve this answer



















          • 1





            Does not work anymore (in 2016)

            – Karel Bílek
            Feb 4 '16 at 11:36











          • @KarelBílek just installed it and it works!

            – Mike Szyndel
            Feb 16 '16 at 10:48



















          2














          Many useful plugins mentioned in other answers, but not many that work on Firefox 57 (Quantum). If you're stuck, try ForceFull. For bonus points, it goes fullscreen instantly on startup by default. No config necessary to get that behavior.






          share|improve this answer































            1














            If you're using firefox 3 you can use this extension. It allows fullscreen on start. Tons of others do as well, see here.



            I'm not aware of a command-line switch though.






            share|improve this answer































              1














              You may try R-KIOSK with work really good.






              share|improve this answer



















              • 2





                I would give you +1 if you would explain a little more if you explain a little more what it is, what it does and what your personal experience is.

                – MadMike
                Sep 14 '15 at 12:49






              • 2





                I agree with @MadMike. +1 after a nice explanation :-)

                – AlexGreg
                Sep 14 '15 at 13:01



















              0














              Full-screen me dad!



              $ cat /var/tmp/firefoxfullscreen.sh 
              #!/bin/bash
              export DISPLAY=:0.0 # eye
              cat > /var/tmp/index.html << EOF
              <html>
              <head><meta http-equiv="refresh" content="3" />
              <style>
              html {
              background: url("http://192.168.0.142:7007/video/vnc.jpeg") no-repeat center center fixed;
              -webkit-background-size: cover;
              -moz-background-size: cover;
              -o-background-size: cover;
              background-size: cover;
              }
              </style>
              </head>
              <body>
              </body>
              </html>
              EOF

              ps aux | grep firefox | awk '{print $2}' | xargs kill -9; # kill me
              firefox "/var/tmp/index.html" & # leave me alone
              sleep 5 # hehehe
              xdotool key F11 # hit full screen





              share|improve this answer































                0














                After scouring the web for days, I found the Auto Fullscreen plugin.



                It's just a simple script which does what it says.






                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',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  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%2f36287%2fhow-to-start-firefox-in-fullscreen-mode%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  8 Answers
                  8






                  active

                  oldest

                  votes








                  8 Answers
                  8






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  15














                  on Linux (works on debian jessie):



                  firefox -url http://superuser.com &
                  xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11


                  firefox line - starts firefox with url and detaches from terminal ("&"). "&" is required, otherwise following script won't execute while firefox exits.



                  xdotool line searches window with partial name "Firefox" (partial name of running app window can be determinated by xwininfo), activates firefox window, sends key F11 to Firefox.



                  This code is bit better than YumYumYum's solution (sending key only when firefox actualy started. sleep is not really usable approach, cause can miss firefox on slow/overloaded computers or too late on fast computers)



                  sorry for late answer (missed 6 years)






                  share|improve this answer
























                  • Works like a charm on Ubuntu 16

                    – rrschmidt
                    Sep 12 '17 at 6:39
















                  15














                  on Linux (works on debian jessie):



                  firefox -url http://superuser.com &
                  xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11


                  firefox line - starts firefox with url and detaches from terminal ("&"). "&" is required, otherwise following script won't execute while firefox exits.



                  xdotool line searches window with partial name "Firefox" (partial name of running app window can be determinated by xwininfo), activates firefox window, sends key F11 to Firefox.



                  This code is bit better than YumYumYum's solution (sending key only when firefox actualy started. sleep is not really usable approach, cause can miss firefox on slow/overloaded computers or too late on fast computers)



                  sorry for late answer (missed 6 years)






                  share|improve this answer
























                  • Works like a charm on Ubuntu 16

                    – rrschmidt
                    Sep 12 '17 at 6:39














                  15












                  15








                  15







                  on Linux (works on debian jessie):



                  firefox -url http://superuser.com &
                  xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11


                  firefox line - starts firefox with url and detaches from terminal ("&"). "&" is required, otherwise following script won't execute while firefox exits.



                  xdotool line searches window with partial name "Firefox" (partial name of running app window can be determinated by xwininfo), activates firefox window, sends key F11 to Firefox.



                  This code is bit better than YumYumYum's solution (sending key only when firefox actualy started. sleep is not really usable approach, cause can miss firefox on slow/overloaded computers or too late on fast computers)



                  sorry for late answer (missed 6 years)






                  share|improve this answer













                  on Linux (works on debian jessie):



                  firefox -url http://superuser.com &
                  xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11


                  firefox line - starts firefox with url and detaches from terminal ("&"). "&" is required, otherwise following script won't execute while firefox exits.



                  xdotool line searches window with partial name "Firefox" (partial name of running app window can be determinated by xwininfo), activates firefox window, sends key F11 to Firefox.



                  This code is bit better than YumYumYum's solution (sending key only when firefox actualy started. sleep is not really usable approach, cause can miss firefox on slow/overloaded computers or too late on fast computers)



                  sorry for late answer (missed 6 years)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 30 '17 at 11:59









                  ZeroZero

                  16112




                  16112













                  • Works like a charm on Ubuntu 16

                    – rrschmidt
                    Sep 12 '17 at 6:39



















                  • Works like a charm on Ubuntu 16

                    – rrschmidt
                    Sep 12 '17 at 6:39

















                  Works like a charm on Ubuntu 16

                  – rrschmidt
                  Sep 12 '17 at 6:39





                  Works like a charm on Ubuntu 16

                  – rrschmidt
                  Sep 12 '17 at 6:39













                  6














                  Create a new profile by running:



                  firefox -ProfileManager


                  Run firefox with the new profile, move to full screen using F11 and then close it by alt + f4



                  Each time you will use this profile it will be opened in full screen.






                  share|improve this answer


























                  • Do not forget the "-no-remote" option if you already have a running instance of Firefox: "firefox -ProfileManager -no-remote"

                    – Wilbert
                    Nov 15 '12 at 8:31











                  • After making the profile and closing Firefox in full screen mode you can use "firefox -P 'Session Name' -no-remote" to start Firefox in full screen mode.

                    – Wilbert
                    Nov 15 '12 at 8:37






                  • 1





                    Does not work for me (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:37











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48











                  • @MichalSzyndel interesting! I will try it again

                    – Karel Bílek
                    Feb 17 '16 at 3:11
















                  6














                  Create a new profile by running:



                  firefox -ProfileManager


                  Run firefox with the new profile, move to full screen using F11 and then close it by alt + f4



                  Each time you will use this profile it will be opened in full screen.






                  share|improve this answer


























                  • Do not forget the "-no-remote" option if you already have a running instance of Firefox: "firefox -ProfileManager -no-remote"

                    – Wilbert
                    Nov 15 '12 at 8:31











                  • After making the profile and closing Firefox in full screen mode you can use "firefox -P 'Session Name' -no-remote" to start Firefox in full screen mode.

                    – Wilbert
                    Nov 15 '12 at 8:37






                  • 1





                    Does not work for me (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:37











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48











                  • @MichalSzyndel interesting! I will try it again

                    – Karel Bílek
                    Feb 17 '16 at 3:11














                  6












                  6








                  6







                  Create a new profile by running:



                  firefox -ProfileManager


                  Run firefox with the new profile, move to full screen using F11 and then close it by alt + f4



                  Each time you will use this profile it will be opened in full screen.






                  share|improve this answer















                  Create a new profile by running:



                  firefox -ProfileManager


                  Run firefox with the new profile, move to full screen using F11 and then close it by alt + f4



                  Each time you will use this profile it will be opened in full screen.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jul 7 '14 at 11:27









                  Zuul

                  1,28631428




                  1,28631428










                  answered Apr 22 '11 at 18:03









                  Yonatan MamanYonatan Maman

                  20228




                  20228













                  • Do not forget the "-no-remote" option if you already have a running instance of Firefox: "firefox -ProfileManager -no-remote"

                    – Wilbert
                    Nov 15 '12 at 8:31











                  • After making the profile and closing Firefox in full screen mode you can use "firefox -P 'Session Name' -no-remote" to start Firefox in full screen mode.

                    – Wilbert
                    Nov 15 '12 at 8:37






                  • 1





                    Does not work for me (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:37











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48











                  • @MichalSzyndel interesting! I will try it again

                    – Karel Bílek
                    Feb 17 '16 at 3:11



















                  • Do not forget the "-no-remote" option if you already have a running instance of Firefox: "firefox -ProfileManager -no-remote"

                    – Wilbert
                    Nov 15 '12 at 8:31











                  • After making the profile and closing Firefox in full screen mode you can use "firefox -P 'Session Name' -no-remote" to start Firefox in full screen mode.

                    – Wilbert
                    Nov 15 '12 at 8:37






                  • 1





                    Does not work for me (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:37











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48











                  • @MichalSzyndel interesting! I will try it again

                    – Karel Bílek
                    Feb 17 '16 at 3:11

















                  Do not forget the "-no-remote" option if you already have a running instance of Firefox: "firefox -ProfileManager -no-remote"

                  – Wilbert
                  Nov 15 '12 at 8:31





                  Do not forget the "-no-remote" option if you already have a running instance of Firefox: "firefox -ProfileManager -no-remote"

                  – Wilbert
                  Nov 15 '12 at 8:31













                  After making the profile and closing Firefox in full screen mode you can use "firefox -P 'Session Name' -no-remote" to start Firefox in full screen mode.

                  – Wilbert
                  Nov 15 '12 at 8:37





                  After making the profile and closing Firefox in full screen mode you can use "firefox -P 'Session Name' -no-remote" to start Firefox in full screen mode.

                  – Wilbert
                  Nov 15 '12 at 8:37




                  1




                  1





                  Does not work for me (in 2016)

                  – Karel Bílek
                  Feb 4 '16 at 11:37





                  Does not work for me (in 2016)

                  – Karel Bílek
                  Feb 4 '16 at 11:37













                  @KarelBílek just installed it and it works!

                  – Mike Szyndel
                  Feb 16 '16 at 10:48





                  @KarelBílek just installed it and it works!

                  – Mike Szyndel
                  Feb 16 '16 at 10:48













                  @MichalSzyndel interesting! I will try it again

                  – Karel Bílek
                  Feb 17 '16 at 3:11





                  @MichalSzyndel interesting! I will try it again

                  – Karel Bílek
                  Feb 17 '16 at 3:11











                  4














                  Command Line



                  Firefox command line option -fullscreen didn't work for me:



                  "firefox.exe" -url http://superuser.com -fullscreen



                  • MDN - Command Line Options

                  • MozillaZine - Command line arguments




                  Extension



                  But the use of R-kiosk 0.9.0 extension by Kimmo Heinaaro works like a charm.




                  Real Kiosk is a Firefox extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home.







                  share|improve this answer



















                  • 1





                    Does not work anymore (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:36











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48
















                  4














                  Command Line



                  Firefox command line option -fullscreen didn't work for me:



                  "firefox.exe" -url http://superuser.com -fullscreen



                  • MDN - Command Line Options

                  • MozillaZine - Command line arguments




                  Extension



                  But the use of R-kiosk 0.9.0 extension by Kimmo Heinaaro works like a charm.




                  Real Kiosk is a Firefox extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home.







                  share|improve this answer



















                  • 1





                    Does not work anymore (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:36











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48














                  4












                  4








                  4







                  Command Line



                  Firefox command line option -fullscreen didn't work for me:



                  "firefox.exe" -url http://superuser.com -fullscreen



                  • MDN - Command Line Options

                  • MozillaZine - Command line arguments




                  Extension



                  But the use of R-kiosk 0.9.0 extension by Kimmo Heinaaro works like a charm.




                  Real Kiosk is a Firefox extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home.







                  share|improve this answer













                  Command Line



                  Firefox command line option -fullscreen didn't work for me:



                  "firefox.exe" -url http://superuser.com -fullscreen



                  • MDN - Command Line Options

                  • MozillaZine - Command line arguments




                  Extension



                  But the use of R-kiosk 0.9.0 extension by Kimmo Heinaaro works like a charm.




                  Real Kiosk is a Firefox extension that defaults to full screen, disables all menus, toolbars, key commands and right button menus. Alt+Home still takes you home.








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 10 '12 at 0:53









                  ZuulZuul

                  1,28631428




                  1,28631428








                  • 1





                    Does not work anymore (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:36











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48














                  • 1





                    Does not work anymore (in 2016)

                    – Karel Bílek
                    Feb 4 '16 at 11:36











                  • @KarelBílek just installed it and it works!

                    – Mike Szyndel
                    Feb 16 '16 at 10:48








                  1




                  1





                  Does not work anymore (in 2016)

                  – Karel Bílek
                  Feb 4 '16 at 11:36





                  Does not work anymore (in 2016)

                  – Karel Bílek
                  Feb 4 '16 at 11:36













                  @KarelBílek just installed it and it works!

                  – Mike Szyndel
                  Feb 16 '16 at 10:48





                  @KarelBílek just installed it and it works!

                  – Mike Szyndel
                  Feb 16 '16 at 10:48











                  2














                  Many useful plugins mentioned in other answers, but not many that work on Firefox 57 (Quantum). If you're stuck, try ForceFull. For bonus points, it goes fullscreen instantly on startup by default. No config necessary to get that behavior.






                  share|improve this answer




























                    2














                    Many useful plugins mentioned in other answers, but not many that work on Firefox 57 (Quantum). If you're stuck, try ForceFull. For bonus points, it goes fullscreen instantly on startup by default. No config necessary to get that behavior.






                    share|improve this answer


























                      2












                      2








                      2







                      Many useful plugins mentioned in other answers, but not many that work on Firefox 57 (Quantum). If you're stuck, try ForceFull. For bonus points, it goes fullscreen instantly on startup by default. No config necessary to get that behavior.






                      share|improve this answer













                      Many useful plugins mentioned in other answers, but not many that work on Firefox 57 (Quantum). If you're stuck, try ForceFull. For bonus points, it goes fullscreen instantly on startup by default. No config necessary to get that behavior.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jan 19 '18 at 19:49









                      Jacob FordJacob Ford

                      1213




                      1213























                          1














                          If you're using firefox 3 you can use this extension. It allows fullscreen on start. Tons of others do as well, see here.



                          I'm not aware of a command-line switch though.






                          share|improve this answer




























                            1














                            If you're using firefox 3 you can use this extension. It allows fullscreen on start. Tons of others do as well, see here.



                            I'm not aware of a command-line switch though.






                            share|improve this answer


























                              1












                              1








                              1







                              If you're using firefox 3 you can use this extension. It allows fullscreen on start. Tons of others do as well, see here.



                              I'm not aware of a command-line switch though.






                              share|improve this answer













                              If you're using firefox 3 you can use this extension. It allows fullscreen on start. Tons of others do as well, see here.



                              I'm not aware of a command-line switch though.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Apr 21 '11 at 15:11









                              turboturbo

                              3,29932245




                              3,29932245























                                  1














                                  You may try R-KIOSK with work really good.






                                  share|improve this answer



















                                  • 2





                                    I would give you +1 if you would explain a little more if you explain a little more what it is, what it does and what your personal experience is.

                                    – MadMike
                                    Sep 14 '15 at 12:49






                                  • 2





                                    I agree with @MadMike. +1 after a nice explanation :-)

                                    – AlexGreg
                                    Sep 14 '15 at 13:01
















                                  1














                                  You may try R-KIOSK with work really good.






                                  share|improve this answer



















                                  • 2





                                    I would give you +1 if you would explain a little more if you explain a little more what it is, what it does and what your personal experience is.

                                    – MadMike
                                    Sep 14 '15 at 12:49






                                  • 2





                                    I agree with @MadMike. +1 after a nice explanation :-)

                                    – AlexGreg
                                    Sep 14 '15 at 13:01














                                  1












                                  1








                                  1







                                  You may try R-KIOSK with work really good.






                                  share|improve this answer













                                  You may try R-KIOSK with work really good.







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Sep 14 '15 at 11:28









                                  Muthukumar AnbalaganMuthukumar Anbalagan

                                  1113




                                  1113








                                  • 2





                                    I would give you +1 if you would explain a little more if you explain a little more what it is, what it does and what your personal experience is.

                                    – MadMike
                                    Sep 14 '15 at 12:49






                                  • 2





                                    I agree with @MadMike. +1 after a nice explanation :-)

                                    – AlexGreg
                                    Sep 14 '15 at 13:01














                                  • 2





                                    I would give you +1 if you would explain a little more if you explain a little more what it is, what it does and what your personal experience is.

                                    – MadMike
                                    Sep 14 '15 at 12:49






                                  • 2





                                    I agree with @MadMike. +1 after a nice explanation :-)

                                    – AlexGreg
                                    Sep 14 '15 at 13:01








                                  2




                                  2





                                  I would give you +1 if you would explain a little more if you explain a little more what it is, what it does and what your personal experience is.

                                  – MadMike
                                  Sep 14 '15 at 12:49





                                  I would give you +1 if you would explain a little more if you explain a little more what it is, what it does and what your personal experience is.

                                  – MadMike
                                  Sep 14 '15 at 12:49




                                  2




                                  2





                                  I agree with @MadMike. +1 after a nice explanation :-)

                                  – AlexGreg
                                  Sep 14 '15 at 13:01





                                  I agree with @MadMike. +1 after a nice explanation :-)

                                  – AlexGreg
                                  Sep 14 '15 at 13:01











                                  0














                                  Full-screen me dad!



                                  $ cat /var/tmp/firefoxfullscreen.sh 
                                  #!/bin/bash
                                  export DISPLAY=:0.0 # eye
                                  cat > /var/tmp/index.html << EOF
                                  <html>
                                  <head><meta http-equiv="refresh" content="3" />
                                  <style>
                                  html {
                                  background: url("http://192.168.0.142:7007/video/vnc.jpeg") no-repeat center center fixed;
                                  -webkit-background-size: cover;
                                  -moz-background-size: cover;
                                  -o-background-size: cover;
                                  background-size: cover;
                                  }
                                  </style>
                                  </head>
                                  <body>
                                  </body>
                                  </html>
                                  EOF

                                  ps aux | grep firefox | awk '{print $2}' | xargs kill -9; # kill me
                                  firefox "/var/tmp/index.html" & # leave me alone
                                  sleep 5 # hehehe
                                  xdotool key F11 # hit full screen





                                  share|improve this answer




























                                    0














                                    Full-screen me dad!



                                    $ cat /var/tmp/firefoxfullscreen.sh 
                                    #!/bin/bash
                                    export DISPLAY=:0.0 # eye
                                    cat > /var/tmp/index.html << EOF
                                    <html>
                                    <head><meta http-equiv="refresh" content="3" />
                                    <style>
                                    html {
                                    background: url("http://192.168.0.142:7007/video/vnc.jpeg") no-repeat center center fixed;
                                    -webkit-background-size: cover;
                                    -moz-background-size: cover;
                                    -o-background-size: cover;
                                    background-size: cover;
                                    }
                                    </style>
                                    </head>
                                    <body>
                                    </body>
                                    </html>
                                    EOF

                                    ps aux | grep firefox | awk '{print $2}' | xargs kill -9; # kill me
                                    firefox "/var/tmp/index.html" & # leave me alone
                                    sleep 5 # hehehe
                                    xdotool key F11 # hit full screen





                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      Full-screen me dad!



                                      $ cat /var/tmp/firefoxfullscreen.sh 
                                      #!/bin/bash
                                      export DISPLAY=:0.0 # eye
                                      cat > /var/tmp/index.html << EOF
                                      <html>
                                      <head><meta http-equiv="refresh" content="3" />
                                      <style>
                                      html {
                                      background: url("http://192.168.0.142:7007/video/vnc.jpeg") no-repeat center center fixed;
                                      -webkit-background-size: cover;
                                      -moz-background-size: cover;
                                      -o-background-size: cover;
                                      background-size: cover;
                                      }
                                      </style>
                                      </head>
                                      <body>
                                      </body>
                                      </html>
                                      EOF

                                      ps aux | grep firefox | awk '{print $2}' | xargs kill -9; # kill me
                                      firefox "/var/tmp/index.html" & # leave me alone
                                      sleep 5 # hehehe
                                      xdotool key F11 # hit full screen





                                      share|improve this answer













                                      Full-screen me dad!



                                      $ cat /var/tmp/firefoxfullscreen.sh 
                                      #!/bin/bash
                                      export DISPLAY=:0.0 # eye
                                      cat > /var/tmp/index.html << EOF
                                      <html>
                                      <head><meta http-equiv="refresh" content="3" />
                                      <style>
                                      html {
                                      background: url("http://192.168.0.142:7007/video/vnc.jpeg") no-repeat center center fixed;
                                      -webkit-background-size: cover;
                                      -moz-background-size: cover;
                                      -o-background-size: cover;
                                      background-size: cover;
                                      }
                                      </style>
                                      </head>
                                      <body>
                                      </body>
                                      </html>
                                      EOF

                                      ps aux | grep firefox | awk '{print $2}' | xargs kill -9; # kill me
                                      firefox "/var/tmp/index.html" & # leave me alone
                                      sleep 5 # hehehe
                                      xdotool key F11 # hit full screen






                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jul 26 '13 at 0:15









                                      YumYumYumYumYumYum

                                      4,5023286133




                                      4,5023286133























                                          0














                                          After scouring the web for days, I found the Auto Fullscreen plugin.



                                          It's just a simple script which does what it says.






                                          share|improve this answer




























                                            0














                                            After scouring the web for days, I found the Auto Fullscreen plugin.



                                            It's just a simple script which does what it says.






                                            share|improve this answer


























                                              0












                                              0








                                              0







                                              After scouring the web for days, I found the Auto Fullscreen plugin.



                                              It's just a simple script which does what it says.






                                              share|improve this answer













                                              After scouring the web for days, I found the Auto Fullscreen plugin.



                                              It's just a simple script which does what it says.







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Jan 12 at 2:27









                                              VaisakhVaisakh

                                              11




                                              11






























                                                  draft saved

                                                  draft discarded




















































                                                  Thanks for contributing an answer to Ask Ubuntu!


                                                  • Please be sure to answer the question. Provide details and share your research!

                                                  But avoid



                                                  • Asking for help, clarification, or responding to other answers.

                                                  • Making statements based on opinion; back them up with references or personal experience.


                                                  To learn more, see our tips on writing great answers.




                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function () {
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f36287%2fhow-to-start-firefox-in-fullscreen-mode%23new-answer', 'question_page');
                                                  }
                                                  );

                                                  Post as a guest















                                                  Required, but never shown





















































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown

































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown







                                                  Popular posts from this blog

                                                  Human spaceflight

                                                  Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                                                  File:DeusFollowingSea.jpg