LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Full screen Firefox with bash (http://www.linuxquestions.org/questions/linux-software-2/full-screen-firefox-with-bash-623720/)

aabfm 02-25-2008 10:53 AM

Full screen Firefox with bash
 
Hi guys,
I need to start Firefox from a bash file using crontab (no problem with this).
However I would like to start Firefox directly in full-screen mode, and in a pre-determined website.
Thanks in advance.

slakmagik 02-25-2008 11:00 AM

http://kb.mozillazine.org/Command_line_arguments

You can give it a url and start it maximized but, unless it's an undocumented xfeDoCommand() type option, I don't think you can fullscreen it.

aabfm 02-25-2008 11:16 AM

Well, actualy what I would like is to open a simple html webpage which has a Flash video right in the center of it and just keep it running.
I also took a look at Fullerscreen add-on which, when we press F11, will realy take Firefox to a real fullscreen, but I don't know how to do this from command-line.
Thanks.

aabfm 02-25-2008 11:19 AM

By the way, what is a "undocumented xfeDoCommand() type option"?
There are still a few things totaly new to me... :confused: :(

slakmagik 02-25-2008 12:06 PM

Quote:

Originally Posted by aabfm (Post 3069257)
Well, actualy what I would like is to open a simple html webpage which has a Flash video right in the center of it and just keep it running.
I also took a look at Fullerscreen add-on which, when we press F11, will realy take Firefox to a real fullscreen, but I don't know how to do this from command-line.
Thanks.

Well, I'm not familiar with that add-on (or firefox, even, since I use the mozilla/seamonkey browser) but, like I say, the webpage is no problem - the fullscreen probably will be, though.

Quote:

Originally Posted by aabfm (Post 3069261)
By the way, what is a "undocumented xfeDoCommand() type option"?
There are still a few things totaly new to me... :confused: :(

Sorry - '-remote "xfeDoCommand(commandHere)"' is just a way to get the mozilla browsers to do certain things, as an example. But those options aren't well documented so I don't want to say it's impossible - just that I don't know of a way. There may be a 'firefox -abracadabra "shazam(fullScreen)"' but I doubt it.

One thing you could look into is something like xnee. I started to say to look into your window manager but that'd probably only be good for maximizing the browser, which you can do anyway. Going fullscreen is more on the browser's end. But things like xnee can replay arbitrary GUI actions - I've never actually gone so far as to use it, but I was looking into stuff like that at one time, so it may work.

shafty023 02-26-2008 09:14 AM

If you can't find the solution in here try moving this thread to Linux->Linux - Software

slakmagik 02-26-2008 12:47 PM

shafty023: good call. I didn't even notice which forum we were in, but this isn't a Fedora question and would probably get more views in Software.

XavierP 02-26-2008 01:38 PM

Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 01:28 PM.