Opera(简体中文)
From ArchWiki
i18n |
---|
Česky |
English |
简体中文 |
Español |
Italian |
Contents |
Introduction
Opera is a full-featured web suite by Opera Software ASA, a Norwegian IT company.
Installation
Opera has been moved to the AUR due to licensing issues. You can find it here.
To install the latest stable Opera with yaourt:
# yaourt -S opera
Note: This will install Qt4 shared build on i686 and Qt3 on x86_64.
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.
Fonts seem too big
Sometimes the font may seem too big on some webpages, compared to other webpages, or just the rest of the webpage, this can be fix'd by forcing Opera to use a specific dpi
Simply type in:
opera:config
in the address bar and search for dpi, and then set your desired dpi in the "Forced DPI" field.