Solved

raspberry pi - getting some commands to fire when it starts

Posted on 2014-01-22
7
5,512 Views
Last Modified: 2016-08-13
Hi

I have a raspberry pi which I am going to use to display information on tv screens.  The information it is going to display is web based and the device itself, once deployed, will have no input methods, so keyboard and mouse will be not connected once setup.

When the pi boots up I need to open iceweasel in fullscreen mode (F11)


how can i do this?

Cheers

CD
0
Comment
Question by:cycledude
  • 4
  • 3
7 Comments
 

Author Comment

by:cycledude
ID: 39799531
I have managed to get iceweasel start on boot by adding

@iceweasel

to the following file

/etc/xdg/lxsession/LXDE/autostart

just need iceweasel to start in fullscreen mode now..
0
 
LVL 7

Expert Comment

by:Beneford
ID: 39799605
I don't have iceweasel working, but isn't there an option within iceweasel to start full screen?

I found this:
Once installed, go to Tools > Add-ons > Extensions. Select Full Fullscreen then press the Options button. Check "Fullscreen at startup" and press OK.

And this:
Command line option: -fullscreen

(both from: http://forums.mozillazine.org/viewtopic.php?t=654650 - they are talking about Firefox, but isn't that essentially what Iceweasel is?)
0
 

Author Comment

by:cycledude
ID: 39799663
Hi

thanks for the info.  the command line trick would have been great but didn't do anything...

I have a little issue with iceweasel, in that even though I can get the pie to connect to the internet via the local proxy, and I can setup netsurf to connect, i don't seem able to get iceweasel to connect to external sites...  which includes the addins...

I can download the ff_fullscreen add on from netsurf, but I don't know how to get iceweasel to accept it... I put it in the /usr/lib/mozilla/plugins folder and restarted but still not worked... any idea how to do it?
0
 
LVL 7

Expert Comment

by:Beneford
ID: 39799742
Is there a reason why you need/want to use iceweasel?

There a number of other browsers you could try.
Midori (but not Netsurf), for example, will restart in fullscreen if you have it full screen before closing it.
0
 

Author Comment

by:cycledude
ID: 39799791
hi

yes, the reason is that iceweasel (firefox) renders pages much better, and has far greater compatability with css3 and jquery... the browsers that come with pi are only good for very basic websites... for example, try netsurf on the BBC website... it doesn't do very well at all.
0
 
LVL 7

Accepted Solution

by:
Beneford earned 500 total points
ID: 39799815
Understood.

Just found this: (http://forums.mozillazine.org/viewtopic.php?f=7&t=521999)

Open firefox and go to http://www.krickelkrackel.de/autohide/ and install the autohide extension. AFAIK this is the only way to start firefox in fullscreen mode. Does anyone know if this is going to change in future releases or another way to do it? There really needs to be a way to start firefox automatically in F11 fullscreen mode without an extension. Close firefox.
0
 

Author Closing Comment

by:cycledude
ID: 39850107
thanks,
0
Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now