Firefox: Difference between revisions
m (one category, Web browsers) |
(Update to match Firefox-6 package.) |
||
Line 17: | Line 17: | ||
* use proper sugar activity start/stop mechanism so icons in view switcher look right, and URLs can be launched from the journal in firefox. |
* 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. |
* integrate bookmark mechanism with journal, so that bookmarks show up in journal. |
||
* fix persistence issues with rainbow, so that bookmarks, settings, and installed extensions are persistent. |
|||
==Implementation strategy== |
==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 |
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. |
||
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. |
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. |
||
==Installing Adobe Flash in Firefox== |
|||
Brief 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 |
|||
* Type 'y' and press enter when requested, then 'n' to decline further installations. |
|||
==Installing Java in Firefox== |
|||
Brief instructions for install Java in Firefox: |
|||
* Go to http://java.com |
|||
* Click "Free Java Download" |
|||
* 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 the prompt, type ~/Activities/Firefox*/install-java |
|||
* Press Enter to scroll through the long license, then they 'yes' and press enter. |
|||
==Related pages== |
==Related pages== |
Revision as of 20:33, 5 September 2008
see more templates or propose new |
Description
There is a port of Firefox 3 to the XO linked from the Activities 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.
Implementation strategy
Most of the tweaks needed to integrate Firefox into the Sugar environment are done via the preferences set in the vendor.js file in firefox. The 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 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.
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.
Installing Adobe Flash in Firefox
Brief 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
- Type 'y' and press enter when requested, then 'n' to decline further installations.
Installing Java in Firefox
Brief instructions for install Java in Firefox:
- Go to http://java.com
- Click "Free Java Download"
- 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 the prompt, type ~/Activities/Firefox*/install-java
- Press Enter 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.