LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Launching only firefox (http://www.linuxquestions.org/questions/linux-newbie-8/launching-only-firefox-937985/)

lonesoac0 04-03-2012 08:15 PM

Launching only firefox
 
Hello all,

I have recently discovered the xinit command. I am now trying to launch firefox with xinit.
Code:

xinit /usr/bin/firefox google.com
My main and only issue is that when my firefox launches it is not full screen. I played with the monitor options and I think that the full screen size is 1280x720.

I am trying to launch firefox directly from the terminal with no GUI session. (Gnome or KDE etc.)

I am using Ubuntu 11...something.

SharpyWarpy 04-04-2012 09:26 PM

Hmm. I don't think you can do that, run Firefox without X.

TobiSGD 04-04-2012 09:41 PM

If you start Firefox with xinit then Firefox is running with X, there is just no windowmanager, therefore also no titlebar to bring that application to fullscreen. Early versions of Firefox could be started with -width and -height options, I don't know if they will accept that today. What happens if you press the fullscreen-key (F11)?

lonesoac0 04-04-2012 10:10 PM

I actually figured out the command that I needed to perform. The command goes as following:
Code:

xinit /usr/bin/firefox -height 720 -width 1280 HTML_FILE_CONTAINING_GOOGLE_MAP_URL.html


All times are GMT -5. The time now is 04:49 PM.