Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-03-2012, 08:15 PM   #1
Registered: Jan 2010
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 4
Launching only firefox

Hello all,

I have recently discovered the xinit command. I am now trying to launch firefox with xinit.
xinit /usr/bin/firefox
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.

Last edited by lonesoac0; 04-03-2012 at 09:57 PM. Reason: more info
Old 04-04-2012, 09:26 PM   #2
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Hmm. I don't think you can do that, run Firefox without X.
Old 04-04-2012, 09:41 PM   #3
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 16,644
Blog Entries: 2

Rep: Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598Reputation: 4598
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)?
Old 04-04-2012, 10:10 PM   #4
Registered: Jan 2010
Distribution: Ubuntu
Posts: 93

Original Poster
Rep: Reputation: 4
I actually figured out the command that I needed to perform. The command goes as following:
xinit /usr/bin/firefox -height 720 -width 1280 HTML_FILE_CONTAINING_GOOGLE_MAP_URL.html


firefox, x11, xinit

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox - launching telnet Mithrilhall Linux - Software 5 10-18-2006 04:01 PM
Firefox launching a twin which soon disappears.. andy-k Linux - Software 11 09-07-2006 07:02 AM
Firefox browser closes when launching pdf chucker8 Linux - Software 2 07-06-2006 08:40 AM
launching firefox help simcox1 Mandriva 15 06-01-2005 02:53 AM
launching firefox from a url/email link problems nandish Linux - Newbie 1 06-05-2004 08:36 AM

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration