Browse: Difference between revisions

From OLPC
Jump to navigation Jump to search
(add a note about webkit)
Line 30: Line 30:
{|style="border: solid 1px gray; margin: 1em auto 1em; auto"
{|style="border: solid 1px gray; margin: 1em auto 1em; auto"
|-
|-
This screenshot shows the sharing faeture. The added links are coming up in the tray at the bottom of the page
This screenshot shows the sharing feature. The added links are coming up in the tray at the bottom of the page
| valign="top"|
| valign="top"|
[[Image:Shared browser.png|300px|thumb|center|Play the memorize game - single user mode]]
[[Image:Shared browser.png|300px|thumb|center|Play the memorize game - single user mode]]
|}
|}




= Flash in the default web browser =
= Flash in the default web browser =

Revision as of 19:16, 1 September 2007

Browser
File:Web.png
Status: in the builds
Version: 43
Base: Yes
Source: [1]
l10n: missing
Contributors
sugar developers

Description & Goals

Summary

Currently the Web browser is a simple application that uses the Gecko browser engine that is also used by Firefox. Our browser is much simpler than Firefox and is not directly compatible with Firefox add-ins. Applications can also use xulrunner which includes Javascript capability.

Goals

- displaying of web pages
- display images like for example png
- place for sharing browsable information

Collaboration

The web-activity does feature collaboration. To share your session you select the scope in the Activity tab of the web-activity. The icon will be visible in the mesh view and the session can be joined by others. What is shared in the case of the web-activity are links and their information. To share a link you have to hit the 'star button' in the Browse Tab right to the entry for the url. This will generate a link from the currently visited url, create a thumbnail of the visible page and add it to a tray at the bottom of the page. The link contains the thumbnail the title of the page and the owner of the link which is displayed in the palette visible when you hover over the link. The same information will be visible to the other members of this shared session. They can then decide whether they want to follow the link (browse to the web-page associated with it) or not.

We decided to implement the friends or trust model. This means that any member of the shared session can add a link. This is different then a possible teachers model, where the owner of the shared activity browse links and the members of the session have to follow these actions. The issue of someone adding garbage or undesired information to the session has been taken care of by displaying information about the creator of a link, so we make this a social problem. The name and the XO colors are displayed with the link in the tray. You can remove a link from your tray as well. This happens locally since we want to avoid someone removing links from all the members in the session.

Since bundle version 42 you can hide and show the tray to not use so much space from the actual canvas. This can be toggled with the ctrl+s keystroke. This keystroke might change soon and an additional solution will be presented to toggle the tray's visibility.

Screenshots

This screenshot shows the sharing feature. The added links are coming up in the tray at the bottom of the page
Play the memorize game - single user mode

Flash in the default web browser

To install flash player plugin 9 for the gecko/xulrunner web browser, do the following:

  • Open a terminal as root
  • Download the plugin file:
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
  • Unpack it:
tar xzvf install_flash_player_9_linux.tar.gz
  • Run the flashplayer-installer and follow instructions (the install folder is /usr/lib/xulrunner-XXXXX/):
./flashplayer-installer

Possible alternatives

WebKit

Dan Winship did a quick and dirty build and port of webkit to use in the web browser activity. It did work but the upstream support for Gtk is in its relative infancy and it was clear due to crashes and other symptoms that it will be a long time before WebKit is ready for primetime for our project. It was, however, a good bit faster and smaller. But not an order of magnitude.

Dillo

The small web browser capable of running in an embedded environment

Dillo website

Opera

Opera has been successfully installed.

Firefox 2.0

It is also possible to install Firefox2