Solved

raspberry pi - getting some commands to fire when it starts

Posted on 2014-01-22
7
5,451 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 7

Expert Comment

by:Beneford
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks,
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

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" …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

772 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

10 Experts available now in Live!

Get 1:1 Help Now