Firefox: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(22 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Firefox 24.0 is available for download in OLPC OS 13.2.0; switch to Gnome desktop, start Terminal and paste this:
{{Olpcboxtop|toptext=[[{{PAGENAME}}|Firefox]]}}
sudo yum install -y firefox
{{ OBX activity |[[Image:activity-firefox.svg]]|extra }}
{{ OBX source dev|users/cscott/firefox-activity}}
{{ OBX xobundle|http://dev.laptop.org/~cscott/bundles/Firefox-6.xo}}
{{ OBX test |[[Tests/Firefox|Firefox]]<!--|2007-09-18--> }}
{{ OBX devtickets |firefox-activity}}
{{ OBX team |[[C. Scott Ananian]]}}
<small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small>
{{Olpcboxbottom}}


Then use the menu; Applications -> Internet -> Firefox.
[[Image:Firefox.png|thumb|right|350px|The sugarized [[Firefox]] interface]]
__TOC__


==Installing Codecs==
==Description==
There is a port of Firefox 3.01 to the XO linked from the [[Activities/All]] page on our wiki. It has been partly sugarized by C. Scott Ananian. Work still to be done:
* integrate with journal, so downloaded files "work right" and get launched in the appropriate activity.
* use proper sugar activity start/stop mechanism so icons in view switcher look right, and URLs can be launched from the journal in firefox.
* integrate bookmark mechanism with journal, so that bookmarks show up in journal.


On 14.1.0, H.264 support for Firefox can be added with these Terminal commands:
==Implementation strategy==
Most of the tweaks needed to integrate Firefox into the Sugar environment are done via the preferences set in the [http://dev.laptop.org/git?p=users/cscott/firefox-activity;a=blob;f=vendor.js;hb=HEAD vendor.js] file in firefox. The [http://dev.laptop.org/git?p=users/cscott/firefox-activity;a=blob;f=firefox-activity.py;hb=HEAD firefox-activity.py] file parses the options sugar gives and translates them into command-line options firefox understands. We install a custom 'Sugar' extension to provide additional Sugar integration features (journal, bookmarks) and perform a few [http://dev.laptop.org/git?p=users/cscott/firefox-activity;a=blob;f=Sugar/chrome/content/sugar.css;hb=HEAD theme tweaks] to make sugarized checkboxes lay out properly. The plan is to implement journal via a 'default plugin' that handles all mime types by invoking python code to save them to the journal.


sudo yum localinstall \
As I implement further sugar integration features, I hope to split the code into multiple independent extensions which can be installed and enabled/disabled separately, so that the sugarized firefox can be customized by the user to fit better into their existing environment. We could also do more extensive theming work to make Firefox better match the designs for [[Browse]]; for example, implementing the "page title when not focused" behavior of Browse's location bar, and transforming firefox's traditional menu bar into a sugar-style tabbed button bar. These extensions could be disabled if you prefer the traditional firefox layout.
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo yum install -y \
gstreamer1-libav gstreamer1-vaapi gstreamer1-plugins-{good,good-extras,ugly}


Test cases:
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">
*http://www.quirksmode.org/html5/tests/video.html
==Installing Adobe Flash in Firefox==
*http://html5test.com/
Brief (and broken) instructions for installing non-free Adobe flash in Firefox:
* Go to http://www.adobe.com/go/getflashplayer in Firefox
* Under "Select version to download..." pick ".tar.gz for Linux"
* Click "Agree and install now"
* Select "Save File" (at some point I hope journal integration will occur here)
* Close the download manager window when the download is complete with Ctrl-W (erk)
* Exit Firefox (File->Quit, then "Quit" button)
* Open the Terminal activity.
* At the prompt, type: ~/Activities/Firefox*/install-flash
* MISSING STEP? ( I get the following message: no such file or directory)
* Type 'y' and press enter when requested, then 'n' to decline further installations.


==Installing Adobe Flash==
Firefox on OLPC OS does not include Adobe Flash plugin, and as a result some web sites do not work as designed. To install the plugin see [[Adobe Flash]], in particular the section for Browse.


==Sugar==
''Smgbblrtkmhndl'' says:
See [[Firefox/Obsolete]] for a Sugarised Firefox for old OLPC OS releases prior to 10.x.


Firefox can also run from within Terminal. Type firefox at the Terminal prompt and press enter.
This didn't work for me for two reasons thus far (I think)


==Security Updates==
1. the downloaded file wasn't in <tt>/home/olpc/Activities/Firefox*</tt> ... but rather <tt> /home/olpc/isolation/1/gid_to_data_dir/10009/Desktop</tt> ... because I had downloaded (and saved) the file using Firefox... without first changing where it was set to place downloaded files. In my case it was the above directory, but for you it may be different, so under edit, open Preferences and... you know; make something work.
Since OLPC OS 10.1.3 is based on Fedora 11, and Fedora 11 security updates have ceased, there are no further updates to Firefox. Deployments who need a more recent version of Firefox should replace the one in OLPC OS as their build is constructed.


==History==
2. Now that I've found the file I downloaded, I can't figure out how to kick it the right way to make it go. Our ol' buddy Bash says its an executable when I use the file command, but everything I've tried this far has failed me. If you're reading this, then I'm either still looking and have yet to post my solution here... or I've just given up. Lost in this dark labyrinth? Well pick up that flame and carry the torch! (And then come back here with a nicely laid out set of instructions for others who come, lost, this way.
<!-- I don't think this semantical styling would fly on Wikipedia, but then this isn't Wikipedia now is it? -->


Firefox was not included from OLPC OS 12.1.0 and later, because the Fedora default browser changed.
== Instalación de Adobe Flash en Firefox ==
breves instrucciones para la instalación de Adobe Flash no libre en Firefox: * Ir a la http://www.adobe.com/go/getflashplayer en Firefox * En "Seleccione la versión para descargar ..."</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">pick ".tar.gz for Linux" * Click "Agree and install now" * Select "Save File" (at some point I hope journal integration will occur here) * Close the download manager window when the download is complete with Ctrl-W (erk) * Exit Firefox (File->Quit, then "Quit" button) * Open the Terminal activity. * At the prompt, type: ~/Activities/Firefox*/install-flash * MISSING STEP?</span> selección ". tar.gz para Linux" * Haga clic en "Aceptar e instalar ahora" * Seleccione "Guardar Archivo" (en algún momento, espero que la integración revista aparecen aquí) * Cierre la ventana del gestor de descarga cuando la descarga se completa con Ctrl-W (ERK) * Salir Firefox (Archivo-> Salir, y luego botón "Salir") * Abrir la actividad Terminal. * En el indicador, escriba: ~ / Actividades / Firefox * / install-flash * Falta PASO?</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">( I get the following message: no such file or directory) * Type 'y' and press enter when requested, then 'n' to decline further installations.</span> (Me sale el siguiente mensaje: y no existe el fichero o directorio) * Tipo "y presione ENTRAR cuando se le solicite, a continuación, 'n' para rechazar otras instalaciones.</span>


Firefox was included in some previous releases of OLPC OS:
==Installing Java in Firefox==
[Brief instructions to install [[Java]] in Firefox:
* OLPC OS 11.3.1 included Firefox 3.6.23,
* OLPC OS 11.2.0 included Firefox 3.6.17,
* Go to http://java.com
* OLPC OS 10.1.1, 10.1.2, and 10.1.3 included Firefox 3.5.9,
* Click "Free Java Download"
* OLPC OS 10.1.0 included Firefox 3.5.5.
* Click "Linux (self-extracting file)"
* Select "Save File" (at some point I hope journal integration will occur here)
* Close the download manager window when the download is complete with Ctrl-W (erk)
* Exit Firefox (File->Quit, then "Quit" button)
* Open the [[Terminal activity]].
* At its prompt, type ~/Activities/Firefox*/install-java
* Press Spacebar to scroll through the long license, then they 'yes' and press enter.

==Related pages==
Other related pages on the OLPC wiki:
* [[Firefox3 Release Party]]
* [[Firefox2]] - instructions to install an older version of firefox on older OLPC builds.


[[Category:Web browsers]]
[[Category:Web browsers]]

Latest revision as of 22:08, 13 October 2014

Firefox 24.0 is available for download in OLPC OS 13.2.0; switch to Gnome desktop, start Terminal and paste this:

sudo yum install -y firefox

Then use the menu; Applications -> Internet -> Firefox.

Installing Codecs

On 14.1.0, H.264 support for Firefox can be added with these Terminal commands:

sudo yum localinstall \
  http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo yum install -y \
  gstreamer1-libav gstreamer1-vaapi gstreamer1-plugins-{good,good-extras,ugly}

Test cases:

Installing Adobe Flash

Firefox on OLPC OS does not include Adobe Flash plugin, and as a result some web sites do not work as designed. To install the plugin see Adobe Flash, in particular the section for Browse.

Sugar

See Firefox/Obsolete for a Sugarised Firefox for old OLPC OS releases prior to 10.x.

Firefox can also run from within Terminal. Type firefox at the Terminal prompt and press enter.

Security Updates

Since OLPC OS 10.1.3 is based on Fedora 11, and Fedora 11 security updates have ceased, there are no further updates to Firefox. Deployments who need a more recent version of Firefox should replace the one in OLPC OS as their build is constructed.

History

Firefox was not included from OLPC OS 12.1.0 and later, because the Fedora default browser changed.

Firefox was included in some previous releases of OLPC OS:

  • OLPC OS 11.3.1 included Firefox 3.6.23,
  • OLPC OS 11.2.0 included Firefox 3.6.17,
  • OLPC OS 10.1.1, 10.1.2, and 10.1.3 included Firefox 3.5.9,
  • OLPC OS 10.1.0 included Firefox 3.5.5.