Firefox autostart


Forum: DSL Tips and Tricks
Topic: Firefox autostart
started by: machaon

Posted by machaon on June 28 2006,18:32
Hi all,

I would like FireFox to load automatcally at X startup in fullscreen, on a website like < http://myotherpc/. >

Can U help me ?

thx all.

Machaon

Posted by mikshaw on June 28 2006,18:51
To autostart applications in X, add them to /home/dsl/.xinitrc.  Look at the "dillo" line for an example.

Starting firefox fullscreen is a different issue.  It supposedly has "-width" and "-height" commandline parameters, but i've never seen them actually work, at least not in fluxbox.  It also does not have a non-interactive "fullscreen" feature (it requires pushing F11 after firefox loads). Fluxbox stable does not have the ability to force a window to be fullscreen either, so it would require changing your window manager to something that will.  I'm not sure if it can be done with JWM.

Posted by Hillel on July 06 2006,14:28
Try the < Rkiosk Firefox extension >.  It works great.  I use it for a few users who have to use a web app in the middle of a point-of-sale application and export it to them through NX.  You should be warned, modifying it to behave a little differently than its defaults can be a pain.
Posted by kerry on July 06 2006,22:00
also take a look here -> < http://kioskcd.com/ >
it's built on DSL and you can run it from cd so it won't screw up your system.

Posted by keithw on Aug. 18 2006,18:01
Did anyone manage to get firefox to open from .xinitrc?  Whatever I try, I get error messages on boot and X fails to start.  

The line I put in .xinitrc was a copy of the existing dillo line:

Code Sample
/usr/local/bin/firefox /path/to/file &>/dev/null &


The errors I got were something like:

Code Sample
xinit:  No such file or directory (errno 2)
xinit:  No such process (errno 3)


Can anyone give me any clues?

Keith

Posted by ^thehatsrule^ on Aug. 18 2006,22:16
Did you actually put
Code Sample
/usr/local/bin/firefox /path/to/file &>/dev/null &

You probably want to replace /path/to/file if you haven't.

You might want
Code Sample
/usr/local/bin/firefox  http://myotherpc/ &>/dev/null &

Posted by keithw on Aug. 19 2006,08:15
I did put in a real filepath.  I've tried both local files and http

Keith

Posted by keithw on Aug. 20 2006,17:10
Well I finally sorted this out and it was nothing to do with Firefox.  Somehow I'd got into a mess with permissions or ownership.  Not quite sure what it was I did though.  Presumably changed ownership or permissions of .xinitrc or something.

Anyway, I worked through my remaster a stage at a time and finally got it all working.

Keith

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.