old-www/LDP/LG/issue65/arndt.html

437 lines
13 KiB
HTML

<!--startcut ==============================================-->
<!-- *** BEGIN HTML header *** -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD>
<title>Opera - a lightweight browser for Linux LG #65</title>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000">
<!-- *** END HTML header *** -->
<CENTER>
<A HREF="http://www.linuxgazette.com/">
<H1><IMG ALT="LINUX GAZETTE" SRC="../gx/lglogo.png"
WIDTH="600" HEIGHT="124" border="0"></H1></A>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_tips65.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="index.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../index.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="http://www.linuxgazette.com/cgi-bin/talkback/all.py?site=LG&article=http://www.linuxgazette.com/issue65/arndt.html"><IMG ALT="[ Talkback ]" SRC="../gx/navbar/talkback.jpg" WIDTH="121" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../faq/index.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="chan.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
<!-- *** END navbar *** -->
<P>
</CENTER>
<!--endcut ============================================================-->
<H4 ALIGN="center">
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">Opera - a lightweight browser for Linux</font></H1>
<H4>By <a href="mailto:matthiasarndt@gmx.net">Matthias Arndt</a></H4>
</center>
<P> <HR> <P>
<!-- END header -->
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#intro">Introduction</A></LI>
<LI><A HREF="#layout">Screenlayout &amp; Look'n'Feel</A></LI>
<LI><A HREF="#bookmarks">Bookmark handling</A></LI>
<LI><A HREF="#browsing">Quality of browsing - what can Opera render?</A></LI>
<LI><A HREF="#compare">Opera in comparison to Netscape</A></LI>
<LI><A HREF="#custom">Customization</A></LI>
<LI><A HREF="#technical">Technical Notes &amp; Downloading</A></LI>
<LI><A HREF="#install">Installation</A></LI>
<LI><A HREF="#conclusion">Conclusion</A></LI>
</UL>
<A NAME="intro">
<H2>Introduction</H2>
<P>
Currently, the Linux community lacks a stable and fast web browser.
</P>
<P>
Of course, there's Netscape but it's neither fast nor 100% stable. Netscape will crash sometimes,
especially when you're downloading large files over a slow internet link.
(I will refer to Mozilla as Netscape here because it still is a "Netscape"-like browser.)
</P>
<P>
There are several alternatives out there but they all lack features that are required
by most (multimedia) webpages like Java, Javascript, Frame support, tables, CSS and even Flash.
My personal opinion is that most of this is just trash, not really needed for a decent
website except tables.
</P>
<P>
Ported from the Windows world, <A HREF="http://www.opera.com/" TARGET="_blank">Opera</A>
seems to fill the gap. It's still not a full replacement for Netscape on the Linux
platform, but it's very close to reaching this goal.
</P>
<P>
This article focuses on the advantages and disadvantages of Opera, its
concepts, and finally a comparison to Netscape.
</P>
<A NAME="layout">
<H2>Screenlayout &amp; Look'n'Feel</H2>
<P>
A picture is always a good starting point. Click on the link below to see
a screenshot of Opera.
</P>
<P>
<A HREF="misc/arndt/mainframe.jpg">Opera - as seen when started, browsing Slashdot</A> &nbsp;[237 KB]
</P>
<P>
If you're used to the Windows version of Opera, you'll recognize that the screen layout is
the same as in the Windows version.
</P>
<P>
The first thing that you'll recognize is a somewhat large banner containing advertisements.
Opera is a commercial product so the try-before-you-buy version has a banner there.
This banner can be controlled to show specific advertisements. But I do not recommend that
because you'll lose some of your limited anonymity on the net.
</P>
<P>
The navigation buttons are familiar and most of them work the same way as in Netscape.
However you'll notice the lack of a <EM>STOP</EM> button to cancel a transfer.
</P>
<P>
Opera uses some sort of multiple document interface. Contrary to Netscape, all document windows
will be opened in the mainframe as subframes.
You can choose between either a full view of a single document or you can see several subframes
be open at the same time.
</P>
<P>
Just take a look at the two examples below....
</P>
<P>
<A HREF="misc/arndt/2frames.jpg">
Opera, two documents open at the same time, one is shown fullscreen</A> &nbsp; [210 KB]
</P>
<P>
<A HREF="misc/arndt/2frames-mdi.jpg">
Opera, two documents open at the same time, both shown in seperate subframes</A> &nbsp; [196 KB]
</P>
<P>
You'll notice that you have seperate buttons for each open document. This allows you to
operate Opera even if theres no windowmanager running. Additional: frame switching is much
faster compared to Netscape.
</P>
<P>
A very nice feature, borrowed from the MS IE, is the ability to switch to a real fullscreen mode.
Press <B>F11</B> and the current browser frame will be shown fullscreen, really filling the
full screen, not only the subframe of the Opera window.
</P>
<P>
Disadvantages in this mode are that you can neither switch to other subframes nor use the
forward and backward buttons.
</P>
<P>
You can customize the look'n'feel of Opera to the extend. Much more than Netscape.
Display of documents is controlled by CSS. You may either use one from a web site on the net
or supply your own.
You can select a whole file to do this or you can customize color, font and size of the various
objects as headers, paragraphs, etc.
</P>
<P>
Take a look at the customization dialog below:
</P>
<P>
<A HREF="misc/arndt/preferences-css.jpg">
customization dialog for applying personal CSS</A> &nbsp; [49 KB]
<P>
You cannot customize that all in Netscape. Pretty cool feature.
</P>
<A NAME="bookmarks">
<H2>Bookmark Handling</H2>
<P>
Bookmark handling is very good in Opera. You can import your Netscape bookmarks and
your KDE shotcuts (if you have some).
A feature, imported from the Windows version, is the possibility to import MS IE
bookmarks as well. But I guess, no real Linux user has a need for that, IMHO.
One drawback is that the import is readonly. That's somewhat limiting but acceptable.
</P>
<P>
You can switch between a view with bookmarks or without. The default layout is close to the MS IE ones.
</P>
<P>
<A HREF="misc/arndt/bookmarks.jpg">
Opera, with imported Netscape bookmarks open</A> &nbsp; [246 KB]
</P>
<P>
Note that import of foreign bookmarks is done automatically.
</P>
<A NAME="browsing">
<H2>Quality of browsing - what can Opera render?</H2>
<P>
Well, Opera renders almost any decent HTML code. Tables, Frames, CSS, all are no problem.
In that way it has the full quality of Netscape, not found in many alternative browsers
on the Linux platform.
</P>
<P>
In particular, the CSS support is even better than in Netscape.
Just compare a site relying completely on CSS and optimized for MS IE. View this page
with the MS IE, with Netscape and finally with Opera.<BR>
As far as I have noticed so far, Opera's output is closer to the MS IE than Netscape. But
that may be subjective.
</P>
<P>
Opera has three or four features that it does not do properly:
<UL>
<LI>Java Support - not implemented yet</LI>
<LI>Javascript - well works for most things but not for all</LI>
<LI>Flash - no support for this</LI>
<LI>no Netscape plugins</LI>
</UL>
But IMHO no one really needs Javascript, this one is really annoying. Flash is for multimedia
freaks and Java, well if you need this, you can still use Netscape.
</P>
<P>
Opera is able to display PNG pictures, a feature not supported by most alternative browsers.
</P>
<A NAME="compare">
<H2>Opera in comparison to Netscape</H2>
<P>
Take a look at the following table, then select for yourself.
</P>
<P>
<SMALL>I haven't used the Konqueror from KDE2 yet - so I cannot give you an comparative overview of that one with Opera.</SMALL>
</P>
<TABLE WIDTH="100%">
<TR BGCOLOR="#FFFFEE">
<TD>
</TD>
<TD>
Opera
</TD>
<TD>
Netscape
</TD>
</TR>
<TR>
<TD WIDTH="28%">
Cost
</TD>
<TD>
free - but advertisement is shown
</TD>
<TD>
free - for non-commercial use
</TD>
</TR>
<TR>
<TD>
Size
</TD>
<TD>
average (statically linked)<BR>
small (dynamic linked)
</TD>
<TD>
big (statically linked only)
</TD>
</TR>
<TR>
<TD>
Speed
</TD>
<TD>
startup is fast<BR>
document loading and rendering is fast
</TD>
<TD>
startup is very slow, even with much RAM<BR>
document loading and rendering is average
</TR>
<TR>
<TD>
Rendering quality of text (compared to the Windows versions)
</TD>
<TD>
average (at least with my font settings)
</TD>
<TD>
average to bad (depends on the font sizes in CSS and fonts used)
</TD>
</TR>
<TR>
<TD>
Table support
</TD>
<TD>
yes
</TD>
<TD>
yes
</TD>
</TR>
<TR>
<TD>
Frames support
</TD>
<TD>
yes
</TD>
<TD>
yes
</TD>
</TR>
<TR>
<TD>
JavaScript support
</TD>
<TD>
yes but incomplete
</TD>
<TD>
yes
</TD>
</TR>
<TR>
<TD>
Java support
</TD>
<TD>
no - but seems to be planned for the future
</TD>
<TD>
yes
</TD>
</TR>
<TR>
<TD>
CSS support
</TD>
<TD>
yes
</TD>
<TD>
yes but incomplete
</TD>
</TR>
<TR>
<TD>
Stability
</TD>
<TD>
rather good<BR>
sometimes crashes without a reason (at least on my system)
</TD>
<TD>
average to good
</TD>
</TR>
</TABLE>
<A NAME="custom">
<H2>Customization</H2>
<P>
Opera is very customizable. You can select your own CSS style sheets to use, define
shortcuts to search engines.
</P>
<P>
You can choose the Identity string as well. Using this feature you can claim that
your're using the MS IE or Netscape, instead of Opera.
</P>
<P>
This might be useful on some sites that require the use of one of the big browsers out there.
</P>
<P>
Last but not least, the screenlayout, the positons of navigation and status bars, can be customized.
You can even select to show an advanced navigation bar instead of the small default one.
</P>
<A NAME="technical">
<H2>Technical Notes &amp; Downloading</H2>
<P>
Opera uses the QT2.2 library. However, it runs nicely without KDE.
</P>
<P>
Opera is available at <A HREF="http://www.opera.com/" TARGET="_blank">www.opera.com</A>.
</P>
<P>
You can choose between tar.gz, deb and rpm packages. These come either statically linked or
dynamically linked.
</P>
<P>
A version for PowerPC Linux is available as well.
</P>
<P>
I suggest using the statically linked version. Although the packages are bigger, it is more
likely that Opera runs.
</P>
<A NAME="install">
<H2>Installation</H2>
<P>
Installation of Opera is easy.
</P>
<P>
The tar.gz archives come along with an install skript.
</P>
<P>
Just unpack the Opera archive to a temporary place and run <EM>install.sh</EM> in the directory,
</P>
<P>
I have no experience with the deb or rpm packages of Opera.
Due to the nature of these formats, I suppose that both just install Opera and you can use it
out of the box afterwards.
</P>
<A NAME="conclusion">
<H2>Conclusion</H2>
<P>
Opera is a fast and lightweight web browser. It has very good features and is able to render
almost 90% of the webpages out there.
</P>
<P>
There are still some features missing or incomplete. At least, today, Opera is still not
ready to be used standalone if you want Javascript, Java and multimedia stuff like Flash.
But if you can live without these, you'll find that
Opera <EM>can be</EM> a 100% replacement for Netscape.
</P>
<P>
Give it a try. Opera has many nice features not seen before in the Linux environment.
</P>
<!-- *** BEGIN copyright *** -->
<P> <hr> <!-- P -->
<H5 ALIGN=center>
Copyright &copy; 2001, Matthias Arndt.<BR>
Copying license <A HREF="../copying.html">http://www.linuxgazette.com/copying.html</A><BR>
Published in Issue 65 of <i>Linux Gazette</i>, April 2001</H5>
<!-- *** END copyright *** -->
<!--startcut ==========================================================-->
<HR><P>
<CENTER>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_tips65.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="index.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../index.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="http://www.linuxgazette.com/cgi-bin/talkback/all.py?site=LG&article=http://www.linuxgazette.com/issue65/arndt.html"><IMG ALT="[ Talkback ]" SRC="../gx/navbar/talkback.jpg" WIDTH="121" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../faq/index.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="chan.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
<!-- *** END navbar *** -->
</CENTER>
</BODY></HTML>
<!--endcut ============================================================-->