Difference between revisions of "Opera"

From ArchWiki
Jump to: navigation, search
m (Opera has been moved to AUR, I updated the installation section.)
m (with Yaourt...)
Line 28: Line 28:
 
'''Update:''' Opera has been moved to the AUR due to licensing issues, you can find it [[http://aur.archlinux.org/packages.php?ID=10333 here]]. If you're new to AUR, Archux has [[http://archux.com/page/installing-programs-aur nice tutorial]] on installing packages from the AUR!
 
'''Update:''' Opera has been moved to the AUR due to licensing issues, you can find it [[http://aur.archlinux.org/packages.php?ID=10333 here]]. If you're new to AUR, Archux has [[http://archux.com/page/installing-programs-aur nice tutorial]] on installing packages from the AUR!
  
To install the latest stable Opera:
+
To install the latest stable Opera with yaourt:
  # pacman -S opera
+
  # yaourt -S opera
 
''Note: this will install Qt4 shared build.<br>Note 2: on x86_64, it will install Qt3.''
 
''Note: this will install Qt4 shared build.<br>Note 2: on x86_64, it will install Qt3.''
  

Revision as of 23:29, 4 June 2009

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end

Introduction

Opera is a full-featured web suite by Opera Software ASA, a Norwegian IT company.

Why should I use Opera?

  • It's fast and lightweight.
  • It's standards-compliant.
  • It's very customizable.
  • Out-of-the-box provides web browsing with mouse gestures and ad-blocking, mail client, BitTorrent client and IRC client all in one! And then some more too...
  • It's got a professional touch: no software bloat, no memory leaks, no freezes, no crashes.

Why should I NOT use Opera?

  • It is not free. It's proprietary software.
  • If you use GNOME or some window manager based on GTK+, it is needed to load additional libraries because Opera it's a Qt application.
  • Some webpages don't display correctly because they are not following the web standards (Opera sticks to standards).

Installation

Update: Opera has been moved to the AUR due to licensing issues, you can find it [here]. If you're new to AUR, Archux has [nice tutorial] on installing packages from the AUR!

To install the latest stable Opera with yaourt:

# yaourt -S opera

Note: this will install Qt4 shared build.
Note 2: on x86_64, it will install Qt3.

Static build

Opera is also available statically linked against the Qt libraries, removing them as dependencies.
It is available for i686 as "opera-static" in the AUR.

Other options

Microsoft Fonts and Opera

If you have at the time of Opera package installation the package ttf-ms-fonts Opera will then use those fonts which may look unattractive. To make Opera use by default Gnome fonts or whatever is default on your system remove the ttf-ms-fonts package and then install Opera.

Also note that all fonts are configurable at Tools -> Preferences -> Advanced -> Fonts

Optional tweaks

  • To remove the tray icon, launch Opera with the -notrayicon option.
  • To make the menus look nice, do
# pacman -S polymer

then run qtconfig (it will be located in /opt/qt/bin) and set the polymer theme for Qt applications.

  • To disable "ugly" non anti-aliased fonts, type opera:config in the Opera address bar, then search for "core X fonts" and disable them.
  • To improve the (flash) plugin performance in opera, just issue this command before starting opera or add it to your /etc/profile:
# export OPERAPLUGINWRAPPER_PRIORITY=0

Troubleshooting

Java on Arch64

Install your favorite java environment:

# pacman -S jre
# pacman -S openjdk

Add to the bottom of your /etc/profile:

# For jre package:
export LD_LIBRARY_PATH=/opt/java/jre/lib/amd64/server/
# For openjdk package:
#export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/server/

Edit the path to java in Opera: Menu -> Tools -> Preferences -> Advanced -> Content -> Java Options.

Choose the correct location:

JRE: /opt/java/jre/lib/amd64/
OpenJDK: /usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/

Missing shared object file

  • If you get the following error:
/usr/lib/opera/9.27-20080331.6/opera: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory

Create a symlink (as root):

# ln -s /opt/qt/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3

That should fix the problem.

  • If you sometimes have rendering problems, like duplicated pixel rows, turn of "smooth scrolling" (Tools -> Preferences -> Advanced -> Browsing -> Smooth scrolling)

Fix ugly menus (Fix two)

Not sure what this caused by. But here is another solution. Be sure to remove opera before you proceed.

  • Add the this to the bottom of /etc/pacman.conf: (NB! Remember to choose the correct architecture. (If allready present, please skip this step.))
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
  • Install Opera using the latest snapshot:
# sudo pacman -S opera-snapshot

Vital that you have done the above, installed polymer and executed qtconfig. (Note that qtconfig can set your font to 6 when run multiple times.)

It should now function properly. If not, please use the talk section of this article.