Opera

From ArchWiki

Jump to: navigation, search
i18n
Česky
English
简体中文
Español
Italian

Opera is a web browser and internet suite developed by Opera Software

"The browser handles common Internet-related tasks such as displaying websites, sending and receiving e-mail messages, managing contacts, IRC online chatting, downloading files via BitTorrent, and reading web feeds. Opera is offered free of charge for personal computers and mobile phones, but for other devices it must be paid for." [1]

Contents

Installation

Opera has been moved to the AUR due to licensing issues.

To install the latest stable Opera with yaourt:

$ yaourt -S opera
Note: x86_64 users could consider installing Opera using the install-script provided inside of the tar.gz from http://www.opera.com/browser/download/, since the Opera package has some lib32 dependencies that x86_64 users might find undesirable. Install qt3 (pacman -Sy qt3 for it) after doing this. Also note that this installation will not be monitored by pacman, so it is only recommended for advanced users.

Static build

Opera is also available statically linked against the Qt libraries. This is preferable if the associated Qt packages are not wanted.

Download the opera-static package for i686 (Obsolete: not updated to Opera 10 as of Sep 2009) in the AUR.

KDE integration

In recent versions of Opera there is a somewhat obscure option -systemstyle which will apply KDE style settings instead of plain QT. However, you should test yourself your KDE selected theme is not causing instabilities i.e., sudden browser crashes.

If dialogs don't work for you, make sure

 File Selector -> Dialog Toolkit = 0

in opera:config advanced options.

Optional tweaks

  • To remove the tray icon, launch Opera with the -notrayicon option.
 $ opera -notrayicon
  • Make sure mail extension is not used.
 $ opera -nomail
  • To make the menus look integrated with Qt, install your preferred Qt4 theme and apply it by using qtconfig (/usr/bin/qtconfig, installed as a dependency for the non-static Opera package).
  • To improve flash performance in Opera, issue this command before starting opera, or add it to ~/.bash_profile (alternatively, /etc/profile to make the change system-wide):
 export OPERAPLUGINWRAPPER_PRIORITY=0

Microsoft fonts and Opera

Note: All fonts are configurable at Tools -> Preferences -> Advanced -> Fonts, and fonts specified by qtconfig take precedence over GNOME managed fonts.

If ttf-ms-fonts has been installed before running Opera for the first time, Opera will use those fonts by default, regardless of what's specified by local GTK options, GNOME or KDE font management, etc.

To make Opera use options set by your font manager:

1. Before proceding, close every Opera instance.

2. Uninstall ttf-ms-fonts.

3. rm -rf ~/.opera

Warning: This is inteded for new installations of Opera, since removing this path and all of it's contents will reset Opera's settings, cache, bookmarks, etc.

4. Finally, run Opera again. You can reinstall ttf-ms-fonts after doing this.

Troubleshooting

Java on Arch64

1. Install a Java environment:

# pacman -S openjdk

For the open source version, or:

# pacman -S jre

For Sun's proprietary version.

2. Add to ~/.bash_profile, or /etc/profile to make this setting affect all logins:

# openjdk
export LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/
# jre
export LD_LIBRARY_PATH=/opt/java/jre/lib/amd64/server/

Alternatively, create a symlink to libjvm.so:

# openjdk
cd /usr/lib/jvm/java-6-openjdk/jre/lib/amd64
ln -s server/libjvm.so .
# jre
cd /opt/java/jre/lib/amd64
ln -s server/libjvm.so .

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

#openjdk
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/
#jre
/opt/java/jre/lib/amd64/

Fonts seem too big

Forcing Opera to use an specific DPI setting (not needed since Opera 10) might be a solution.

Simply type:

opera:config

In the address bar and search for "dpi". After setting the desired DPI in the "Force DPI" field, store altered settings by clicking on "Save".

Slow scrolling on nVidia cards

Try running the following command:

$ nvidia-settings -a InitialPixmapPlacement=2

On some computers, http://helion.pl works extremely slow without this hack, making it a perfect site for testing.

Personal tools