[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

raspberry pi - getting some commands to fire when it starts

Posted on 2014-01-22
7
Medium Priority
?
5,956 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 2000 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

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…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month18 days, 16 hours left to enroll

834 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