Improve company productivity with a Business Account.Sign Up

x
?
Solved

raspberry pi - getting some commands to fire when it starts

Posted on 2014-01-22
7
Medium Priority
?
6,066 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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
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…
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.

579 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