Solved

raspberry pi - getting some commands to fire when it starts

Posted on 2014-01-22
7
5,668 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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

685 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