Installing Firefox
While Opera is a nice upgrade from the installed browser on ‘Lil XO I haven’t found it all that fun to use. The various menus are in tiny fonts and some settings don’t seem to stick after I’ve made changes. I decided to install Firefox. I’ve been using it and am much happier with its interface.
To install Firefox involves 4 steps:
- tell ‘Lil XO it is okay to install Firefox
- install Firefox
- make Firefox java aware
- have Firefox show up on the Activity bar
Let’s do it!
To tell ‘Lil XO it is okay to install Firefox do:
- open Terminal Activity
- type su -
- type cd /etc/yum.repos.d
- type nano olpc-koji-ship2.repo
- the above command starts the nano editor. Arrow to the exclude line.
- erase firefox and the comma from the list
- hold down the ctrl key and tap the X key
- type Y for yes
To install Firefox do:
- in the Terminal Activity
- type yum install firefox
- just follow the instructions
To make Firefox java aware do:
- in the Terminal Activity
- type (all on one line) cd /usr/lib/mozilla/plugins
- type (all on one line) ln -s /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so
- the jdk1.6.0_05 must match the name you made note of in installing java
- if you’ve forgotten the jdk name: type ls /usr/java
- test Firefox by visiting International Children’s Digital Library. The page should load very quickly.
To have a Firefox icon show on the Activity Panel do:
- in Terminal Activity (you should still be su)
- type wget http://www.catmoran.com/olpc/libsugarize.so
- type chmod 755 libsugarize.so
- type wget http://www.catmoran.com/olpc/sug
- type chmod 755 sug
- type wget http://www.catmoran.com/olpc/ff.svg
- type sh sug
- type firefox when asked for an activity name
- type ff.svg when asked for an icon file
- type firefox when asked for a command
- type org.mozilla when asked for an organization path
- if everything went okay you will get a success message
- restart sugar by holding down the ctrl key and tapping the alt & erase keys
- look for the FF icon on the Activity bar
The instructions for “sugarizing” an activity came from this web page How-to create a “stub/shortcut/launcher” Activity.