Firefox2: Difference between revisions
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
== Known Problems == |
== Known Problems == |
||
* firefox is excluded from the repository on G1G1 machines. You must edit (as root) /etc/yum.repos.d/olpc-koji-ship2.repo to remove firefox from exclude list before installing with yum |
* firefox is excluded from the repository on G1G1 machines. You must edit (as root) /etc/yum.repos.d/olpc-koji-ship2.repo to remove firefox from exclude list before installing with yum |
||
** One way to do edit the file is as follows: |
** One way to do edit the file is to use the built-in Vi editor as follows (type commands without the quotes): |
||
# Start the Terminal activity (this gives you a line like "[olpc@ |
# Start the Terminal activity (this gives you a line like "[olpc@...]$ ) |
||
# Click in the window |
# Click in the window |
||
# Type "su" and Enter for super user mode |
# Type "su" and Enter for super user mode |
||
# Invoke the |
# Invoke the Vi(M) editor: "vi" and Enter |
||
# (You might find the Vi cheatsheet at: http://www.tuxfiles.org/linuxhelp/vimcheat.html to be of use) |
# (You might find the Vi cheatsheet at: http://www.tuxfiles.org/linuxhelp/vimcheat.html to be of use) |
||
# Load the file: ":e /etc/yum.repos.d/olpc-koji-ship2.repo" and Enter |
# Load the file: ":e /etc/yum.repos.d/olpc-koji-ship2.repo" and Enter |
||
# Use the arrow keys to move to the "f" of "firefox" |
# Use the arrow keys to move to the "f" of "firefox" |
||
# Use the "x" key to delete "firefox" and the following comma |
# Use the "x" key repeatedly to delete "firefox" and the following comma |
||
# (If you get into |
# (If you get into a mode like insert that won't let you issue a command, use the circle-x key in the upper left corner of the keyboard to exit that mode.) |
||
# Write the file out and quit: ":wq" and Enter |
# Write the file out and quit: ":wq" and Enter |
||
** Installation of Firefox 2 appears to use about 42 MB. The installation downloads about 35 MB. |
** Installation of Firefox 2 appears to use about 42 MB. The installation downloads about 35 MB. |
Revision as of 13:22, 29 December 2007
Requirements
- Development version (devel) of OLPC system
Installing Firefox 2.0
As simple as:
yum install firefox
Installing Flash 9 plugin
- 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 the file:
tar xzvf install_flash_player_9_linux.tar.gz
- Run the flashplayer-installer and follow instructions:
./flashplayer-installer
Running the browser
- In a shell outside X (ctrl+alt+F1, ctrl+alt+F2, ...):
- As root, set an environment variable:
- export DISPLAY=127.0.0.1:0.0
- Execute the firefox with the user olpc:
- su olpc -c "firefox &"
- As root, set an environment variable:
- Through a shell in X (alt+=):
- just type firefox from there
Known Problems
- firefox is excluded from the repository on G1G1 machines. You must edit (as root) /etc/yum.repos.d/olpc-koji-ship2.repo to remove firefox from exclude list before installing with yum
- One way to do edit the file is to use the built-in Vi editor as follows (type commands without the quotes):
- Start the Terminal activity (this gives you a line like "[olpc@...]$ )
- Click in the window
- Type "su" and Enter for super user mode
- Invoke the Vi(M) editor: "vi" and Enter
- (You might find the Vi cheatsheet at: http://www.tuxfiles.org/linuxhelp/vimcheat.html to be of use)
- Load the file: ":e /etc/yum.repos.d/olpc-koji-ship2.repo" and Enter
- Use the arrow keys to move to the "f" of "firefox"
- Use the "x" key repeatedly to delete "firefox" and the following comma
- (If you get into a mode like insert that won't let you issue a command, use the circle-x key in the upper left corner of the keyboard to exit that mode.)
- Write the file out and quit: ":wq" and Enter
- Installation of Firefox 2 appears to use about 42 MB. The installation downloads about 35 MB.
- Performance issues
- It is not "sugarizable"
- Right-clicking in a flash closes the browser window