Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

4 Answers 4

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
add comment

Command Line

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

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

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.