Midori: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:Activity-midori.svg]]
[[Image:Activity-midori.svg]]


[http://software.twotoasts.de/index.php?/pages/midori_summary.html Midori] is an alternate browser for Linux based on [http://www.webkit.org/ WebKit] and GTK+. One might consider running Midori/WebKit on the XO if one requires a (very) fast-launching, fast-loading browser with minimal dependencies. [http://code.google.com/p/arora/ Arora], a WebKit browser that requires Qt, is also a good pick.
[http://software.twotoasts.de/index.php?/pages/midori_summary.html Midori] is an alternate browser for Linux based on [http://www.webkit.org/ WebKit] and GTK+. One might consider running Midori/WebKit on the XO if one requires a (very) fast-launching, fast-loading browser with minimal dependencies. [http://code.google.com/p/arora/ Arora], a WebKit browser that requires Qt, is also a good pick. How fast is fast, by the way? Midori's pretty much up two seconds from clicking its icon on Sugar's Desktop.

== Screenshots ==
== Screenshots ==
[[:Image:MidoriOnXODesktop.png]], [[:Image:MidoriInterfaceOnXO.png]]
[[:Image:MidoriOnXODesktop.png]], [[:Image:MidoriInterfaceOnXO.png]], [[:Image:MidoriRunningFullScreen.png]]


== Installing Midori on XO ==
== Installing Midori on XO ==
Line 10: Line 9:
# su -
# su -
# yum install midori
# yum install midori
Note: The version of Midori in the Fedora repository is 0.0.18-1.fc9, which is old. To install the latest version. 0.0.21:
yum install unique
wget http://koji.fedoraproject.org/packages/WebKit/1.0.0/0.11.svn34655.fc9/i386/WebKit-gtk-1.0.0-0.11.svn34655.fc9.i386.rpm
rpm -Uhv WebKit-gtk-1.0.0-0.11.svn34655.fc9.i386.rpm
wget http://koji.fedoraproject.org/packages/midori/0.0.21/1.fc9/i386/midori-0.0.21-1.fc9.i386.rpm
rpm -Uhv midori-0.0.21-1.fc9.i386.rpm


== Sugarizing Midori ==
== Sugarizing Midori ==
Line 17: Line 22:
ie, "firefox" or "mplayer -f"
ie, "firefox" or "mplayer -f"
I used:
I used:
> midori &
> midori
If you need a nice icon for Sugar, try out this one: [[:Image:Activity-midori.svg]].
If you need a nice icon for Sugar, try out this one: [[:Image:Activity-midori.svg]].


Line 27: Line 32:
# yum install gnome-icon-theme
# yum install gnome-icon-theme
Then edit the Sugar icon theme file so that it inherits from the Gnome theme:
Then edit the Sugar icon theme file so that it inherits from the Gnome theme:
# nano /usr/share/icons/sugar/index.theme
# nano /usr/share/icons/sugar/index.theme
Add "Inherits=gnome" as a new line right under the "[Icon Theme]" heading.
Add "Inherits=gnome" as a new line right under the "[Icon Theme]" heading.
Now none of the icons will show the "missing image" icon.
Now none of the icons will show the "missing image" icon.

== Caveats ==
== Caveats ==
In my experience, Midori may freeze or display visual glitches upon loading some websites. I'd love to figure out why this is...
In my experience, Midori may freeze or display visual glitches upon loading some websites. I'd love to figure out why this is...
Midori also seems to forget the preferences in-between launches. This could be because the expected location of the preferences file isn't writable?
Midori also seems to forget the preferences in-between launches when launching it using the Sugarized method. Weird. Could this be because the Sugarized method runs Midori inside a sandbox?

Latest revision as of 00:31, 9 October 2008

Activity-midori.svg

Midori is an alternate browser for Linux based on WebKit and GTK+. One might consider running Midori/WebKit on the XO if one requires a (very) fast-launching, fast-loading browser with minimal dependencies. Arora, a WebKit browser that requires Qt, is also a good pick. How fast is fast, by the way? Midori's pretty much up two seconds from clicking its icon on Sugar's Desktop.

Screenshots

Image:MidoriOnXODesktop.png, Image:MidoriInterfaceOnXO.png, Image:MidoriRunningFullScreen.png

Installing Midori on XO

Easy enough - install Midori from the repository:

# su -
# yum install midori

Note: The version of Midori in the Fedora repository is 0.0.18-1.fc9, which is old. To install the latest version. 0.0.21:

yum install unique
wget http://koji.fedoraproject.org/packages/WebKit/1.0.0/0.11.svn34655.fc9/i386/WebKit-gtk-1.0.0-0.11.svn34655.fc9.i386.rpm
rpm -Uhv WebKit-gtk-1.0.0-0.11.svn34655.fc9.i386.rpm
wget http://koji.fedoraproject.org/packages/midori/0.0.21/1.fc9/i386/midori-0.0.21-1.fc9.i386.rpm
rpm -Uhv midori-0.0.21-1.fc9.i386.rpm

Sugarizing Midori

Try out Sugarize to give Midori an icon. When sug prompted for the command:

Enter the terminal command used to start the program.
ie, "firefox" or "mplayer -f"

I used:

> midori

If you need a nice icon for Sugar, try out this one: Image:Activity-midori.svg.

Adding more icons

If you launch Midori, you may notice that its toolbar is missing a few icons. We can use the Gnome icon theme to fill in the blanks.

Install the Gnome icon theme:

# su -
# yum install gnome-icon-theme

Then edit the Sugar icon theme file so that it inherits from the Gnome theme:

# nano /usr/share/icons/sugar/index.theme

Add "Inherits=gnome" as a new line right under the "[Icon Theme]" heading. Now none of the icons will show the "missing image" icon.

Caveats

In my experience, Midori may freeze or display visual glitches upon loading some websites. I'd love to figure out why this is... Midori also seems to forget the preferences in-between launches when launching it using the Sugarized method. Weird. Could this be because the Sugarized method runs Midori inside a sandbox?