LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   epiphany to be launched in full-screen mode (https://www.linuxquestions.org/questions/linux-software-2/epiphany-to-be-launched-in-full-screen-mode-681280/)

FastCatch 11-05-2008 07:58 AM

epiphany to be launched in full-screen mode
 
Is there a way to launch epiphany in full-screen mode? (Something like a command line option or a setting somewhere?) I couldn't find one...

If there's none, do you by any chance know if some other browser (e.g. Iceweasel, Firefox, Opera as a last resort) has this functionality?

Thx in advance,

FastCatch

rnturn 11-26-2008 09:41 PM

Quote:

Originally Posted by FastCatch (Post 3332390)
Is there a way to launch epiphany in full-screen mode? (Something like a command line option or a setting somewhere?) I couldn't find one...

Normally, something like
Code:

epiphany `xwininfo -root | grep geometry`
would do the trick. This should work for any X11 application but epiphany doesn't recognize the '-geometry' switch. In fact, none of the browsers on my system do. (I don't have Opera loaded so I couldn't test it.) The only browser that I could get to launch immediately into full-screen was by issuing
Code:

xterm `xwininfo -root | grep geometry` -e lynx
Probably not what you're looking for. :(

I did notice that if I force the window to full screen manually in epiphany (using the window manager button on the upper right; not the View -> Fullscreen menu option), exit the browser, and then restart it, the full-screen window size is remembered. Setting the browser to fullscreeen mode takes away all the controls so you cannot exit the browser and have that setting saved. Switching to another window and killing the epiphany process (kill -1 or kill -15) doesn't save the window size. (Perhaps another signal would. Who knows.)

I did see mention of a session file in the epiphany manpage that I thought might restore a browser session -- including window size -- from one invocation to the next but I can't find any information on what these session files are used for or how to create one. (Even on the Gnome web site.) Googling for that might be a place to start but all I've found is mention of the session file remembering the URLs in your tabs.

I'm guessing your trying to set up some sort of automatic kiosk type of browser session without requiring someone to manually set the browser window size. I'm a bit surprised that browsers are making that so difficult to do.

Wish I could be of more help...

--
Rick

michelek 11-27-2008 02:13 AM

Quote:

Originally Posted by rnturn (Post 3356171)
Normally, something like
Code:

epiphany `xwininfo -root | grep geometry`
would do the trick. This should work for any X11 application but epiphany doesn't recognize the '-geometry' switch. In fact, none of the browsers on my system do.

thanks for xwininfo trick.
For my knowledge arora browser obeys geometry, so try arora.

mmp

chug2k 05-21-2010 11:57 AM

xdotool or midori
 
an answer to an old question, but i found Midori to do quite well about remembering full-screen mode. it also has an option to not ask about recovering tabs, which made epiphany a bad option for kiosk mode.

you can also look at xdotool (semicomplete.com/projects/xdotool/). you can then run a script to maximize/close windows, etc.


All times are GMT -5. The time now is 07:22 AM.