{{Article summary text|Installing and configuration of the Opera browser and plugins.}}

+

{{Article summary heading|Related}}

+

{{Article summary wiki|Browser Plugins}}

+

{{Article summary wiki|Firefox}}

+

{{Article summary wiki|Chromium}}

+

{{Article summary end}}

+

[http://www.opera.com Opera] is a free of charge web browser developed since 1994 by the Norwegian company [[Wikipedia:Opera Software|Opera Software]]. It is known for being the first to bring new browsing features to the world that have become common on all web browsers, such as tabbed browsing and built-in search.

Opera can use Netscape-based plugins that are supported by most major browsers, like Firefox and Chromium. For details about different plugins and installation instructions see [[Browser Plugins]]. In Opera, the plugin path can be specified under ''Settings > Preferences... > Advanced > Content > Plug-in Options''.

−

=== 64-bit Flash ===

+

=== Adobe Flash ===

−

Install the {{Pkg|flashplugin}} package from the [[Official Repositories|official repositories]].

One of the keys to maximizing application performance is to disable undesired features and services through the native [http://www.opera.com/browser/tutorials/personalize/behavior/ opera:config Preferences Editor].

+

−

* Start Opera without the default system tray icon by unchecking the following option:

+

=== Adblock ===

−

opera:config#UserPrefs | ShowTrayIcon

+

Install Adblock support using the {{AUR|opera-adblock-complete}} package from the [[AUR]].

−

Other commonly disabled feature sets include but are not limited to:

+

== Performance tweaks ==

+

Although Opera is quite fast on modern hardware, it can be tweaked even more. For further examples, see the [http://operawiki.info/operaperformance Opera wiki page] on performance.

One of the keys to maximizing application performance is to disable undesired features and services through the native [http://www.opera.com/browser/tutorials/personalize/behavior/ opera:config Preferences Editor.]

−

* Multimedia

+

−

* Web Server

+

−

Additional command-line options are available for further control over browser features and services:

To more easily find these options just write the respective path (without spaces) in the address bar, for example {{ic|<nowiki>opera:config#UserPrefs|ShowTrayIcon</nowiki>}} or use the build-in search.

+

+

==== Disable the e-mail client ====

+

Additional command-line options are available for further control over browser features and services. To start Opera without the default internal e-mail client:

$ opera -nomail

$ opera -nomail

−

:*Alternatively, if you want to permanently disable the internal e-mail client without using "-nomail", you can uncheck the setting "Show E-mail Client" in opera:config

−

opera:config#UserPrefs|ShowE-mailClient

−

* Start Opera without an [[Wikipedia:ARGB|ARGB]] (32-bit) visual, without [http://www.lirc.org/ LIRC] infrared control support and {{ic|mailto:}} links disabled:

+

Alternatively, if you want to permanently disable the internal e-mail client you can uncheck the ''Show E-mail Client'' option under opera:config#UserPrefs.

−

$ opera -noargb -nolirc -nomaillinks

+

−

===Improving Flash performance===

+

==== Disable ARGB, LIRC and mailto links ====

−

* Set the following environment variables before starting Opera, or export the entries in [[xinitrc]], or [[Startup files#Shells|.bash_profile]], or for system-wide changes, to {{ic|/etc/profile}}:

+

To start Opera without [[Wikipedia:ARGB|ARGB]] (32-bit) visuals, [http://www.lirc.org/ LIRC] infrared control support and with {{ic|mailto:}} links disabled:

+

$ opera -noargb -nolirc -nomaillinks

+

+

=== Improving Flash performance ===

+

To improve Flash performance you can set the following environment variables before starting Opera, or export the entries in [[xinitrc]], or [[Startup Files#Shells|~/.bash_profile]], or for system-wide changes, to {{ic|/etc/profile}}:

OPERAPLUGINWRAPPER_PRIORITY=0

OPERAPLUGINWRAPPER_PRIORITY=0

OPERA_KEEP_BLOCKED_PLUGIN=1

OPERA_KEEP_BLOCKED_PLUGIN=1

−

====xinitrc example====

+

Another environment variable which may help resolve Flash issues:

−

#!/bin/bash

+

−

#

+

−

/usr/bin/urxvtd -q -f -o &

+

−

export OPERAPLUGINWRAPPER_PRIORITY=0

+

−

export OPERA_KEEP_BLOCKED_PLUGIN=0

+

−

exec ck-launch-session /usr/bin/jwm

+

−

+

−

====Command-line example====

+

−

$ OPERAPLUGINWRAPPER_PRIORITY=0 OPERA_KEEP_BLOCKED_PLUGIN=1 opera &

+

−

+

−

* Another environment variable which may help resolve Flash issues:

+

−

+

GDK_NATIVE_WINDOWS=1

GDK_NATIVE_WINDOWS=1

See the blog article [http://my.opera.com/ruario/blog/flash-problems-on-linux Flash problems on Linux?] for additional details.

See the blog article [http://my.opera.com/ruario/blog/flash-problems-on-linux Flash problems on Linux?] for additional details.

−

=== Profile in tmpfs ===

+

==== .xinitrc example ====

−

The default Opera profile is typically located in {{ic|$HOME/.opera}}. This profile can be relocated to an available [http://en.wikipedia.org/wiki/Tmpfs tmpfs] filesystem, including {{ic|/tmp}}, or {{ic|/dev/shm}} for improvements in application response as the the entire profile is now stored in RAM. Another benefit is a reduction in disk read and write operations, of which SSD drives benefit the most.

+

{{hc|~/.xinitrc|<nowiki>

+

...

+

export OPERAPLUGINWRAPPER_PRIORITY=0

+

export OPERA_KEEP_BLOCKED_PLUGIN=0

+

...</nowiki>

+

}}

−

* At system startup, recursively copy the folder {{ic|/home/arch/.opera}} to {{ic|/dev/shm/.opera}} while preserving mode, ownership and file timestamps:

+

==== Command-line example ====

−

#!/bin/bash

+

To use the variables from the command line call Opera as:

−

#

+

$ OPERAPLUGINWRAPPER_PRIORITY=0 OPERA_KEEP_BLOCKED_PLUGIN=1 opera &

−

# /etc/rc.local

+

−

#

+

−

cp -pR /home/USER/.opera /dev/shm

+

−

* [http://en.wikipedia.org/wiki/Rsync rsync] can be used in place of the [http://en.wikipedia.org/wiki/Cp_(Unix) cp] command:

+

=== Profile in tmpfs ===

−

#!/bin/bash

+

Relocate the browser profile to a [[Fstab#tmpfs|tmpfs]] filesystem, including {{ic|/tmp}} for improvements in application response as the entire profile is now stored in RAM. Another benefit is a reduction in disk read and write operations, of which SSDs benefit the most.

−

#

+

−

# /etc/rc.local

+

−

#

+

−

rsync -a /home/USER/.opera /dev/shm

+

−

#!/bin/bash

+

There are currently two ways of doing this:

−

#

+

* using [[Profile-sync-daemon]], that automatically detects and relocates the Opera profile to tmpfs.

−

# /etc/rc.local.shutdown

+

* using the {{ic|-pd}} command-line flag to tell Opera where to store its profile data:

−

#

+

$ opera -pd /tmp/opera

−

rsync -a --delete /dev/shm/.opera /home/USER

+

−

* To copy only bookmarks and session files back to the disk profile:

+

== Appearance ==

−

#!/bin/bash

+

=== Themes ===

−

#

+

Although Opera is cross-platform, it can be made to integrate very well into various Linux desktop environments.

−

# /etc/rc.local.shutdown

+

; Qt: To make the menus look integrated with Qt, install your preferred Qt theme and apply it by using {{ic|qtconfig}}.

−

#

+

; KDE: To make Opera use [[KDE]] icons, you can install a theme such as [http://my.opera.com/community/customize/skins/info/?id=8141 this one].

−

rsync -a --delete /tmp/.opera/sessions/ /home/bbs/.opera/sessions &

+

; GTK+: A nice GTK+ skin that uses the Tango icon theme can be found [http://my.opera.com/community/customize/skins/info/?id=3465 here].

−

rsync -a /tmp/.opera/bookmarks.adr /home/bbs/.opera

+

−

* In the case of [http://aur.archlinux.org/packages.php?ID=48680 opera-next], launch Opera with the {{ic|-pd}} option to set the location of the alternative Opera preferences folder:

Opera has native support for tab cascading and tiling mode. Appropriate buttons can be found by activating the "Main" toolbar or by dragging and dropping the buttons anywhere desired, found in ''Menu > Appearance > Buttons > Browser''.

−

== Microsoft fonts and Opera ==

+

=== Fonts ===

−

Configure fonts under {{ic|Settings > Preferences > Advanced > Fonts}}. If {{AUR|ttf-ms-fonts}} has been installed before running Opera for the first time, Opera will use those fonts by default, regardless of what is specified by local GTK options, [[GNOME]], or KDE font management. To force existing installations of Opera to use the options set by your font manager:

If the {{AUR|ttf-ms-fonts}} package has been installed before running Opera for the first time, Opera will use those fonts by default, regardless of what is specified by local GTK+ options, [[GNOME]] or KDE font management. To force existing installations of Opera to use the options set by your system:

* Close all running instances of Opera.

* Close all running instances of Opera.

* Un-install the {{AUR|ttf-ms-fonts}} package.

* Un-install the {{AUR|ttf-ms-fonts}} package.

Line 112:

Line 114:

* Re-install the {{AUR|ttf-ms-fonts}} package, if desired.

* Re-install the {{AUR|ttf-ms-fonts}} package, if desired.

−

== UI appearance ==

+

== Private tabs ==

−

* To make the menus look integrated with Qt, install your preferred Qt4 theme and apply it by using {{ic|qtconfig}}.

+

−

* To make Opera use [[KDE]] icons, download a native skin such as [http://my.opera.com/community/customize/skins/info/?id=8908 fixed_window_skin]

+

−

* A nice gtk2 skin with tango icon theme can be found [http://my.opera.com/community/customize/skins/info/?id=6960 here]. Integrates very well with [[Xfce|Xfce4]] and other gtk2 environments.

+

−

* Opera has native support for tab cascading and tiling mode. Appropriate buttons can be found by activating the "main" toolbar or by dragging and dropping the buttons anywhere desired, found in appearance ({{Keypress|Shift+F12}}) -> buttons -> browser.

+

−

+

−

==Private tabs==

+

To browse without leaving obvious traces of the Web sites you visit, you can use a private tab. When you close a private tab, the following data related to the tab is deleted:

To browse without leaving obvious traces of the Web sites you visit, you can use a private tab. When you close a private tab, the following data related to the tab is deleted:

* Cache

* Cache

Line 125:

Line 121:

* Logins

* Logins

−

This is similar to the [http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=95464 --incognito option] in Chrome/[[Chromium]] and [https://wiki.mozilla.org/PrivateBrowsing PrivateBrowsing] in [[Firefox]].

+

This is similar to the [http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=95464 --incognito option] in Chrome/[[Chromium]] and [https://wiki.mozilla.org/PrivateBrowsing PrivateBrowsing] in [[Firefox]].

−

+

−

* Open the URL (if a URL is defined) in Opera with a private tab.

+

+

To open a private tab from the command-line use:

$ opera -newprivatetab

$ opera -newprivatetab

To ensure only private tabs are used throughout the duration of the browsing session:

To ensure only private tabs are used throughout the duration of the browsing session:

To open a new window for private browsing when already running Opera you can just press {{Keypress|Ctrl+Shift+N}} or look under ''Menu > New Tabs and Windows > New Private Window''. All subsequent opened tabs with be private as well.

−

+

−

{{Note|Oracle's proprietary version of the JRE has been pulled from the [[Official_Repositories#.5Bcommunity.5D|[community] repository]]. Read [http://mailman.archlinux.org/pipermail/arch-general/2011-August/021671.html here] for more information.}}

+

−

* ''(Recommended)'' Install the open source [[Wikipedia:Openjdk|OpenJDK]] environment along with the [http://icedtea.classpath.org/wiki/IcedTea-Web IcedTea-Web] browser plugin provided by these two packages: {{Pkg|openjdk}} and {{Pkg|icedtea-web}}.

+

−

+

−

{{Note|If you want to use Java version 7, use the packages {{Pkg|jre7-openjdk}} and {{Pkg|icedtea-web-java7}} instead.}}

It is also possible to disable text selection. However, text selection through javascript will still work (ex. in forms etc.). To get to the setting follow the link bellow

+

It is possible to disable text selection in Opera. However, text selection through JavaScript will still work (for example in forms, etc.). To get to the setting follow the link bellow:

−

+

opera:config#System|DisableTextSelect

opera:config#System|DisableTextSelect

Line 158:

Line 143:

Besides setting text selection off, grab and scroll mode makes page scrolling possible with mouse dragging. It is very useful, especially when you have a touchscreen. Copy and paste the link bellow to get to the mentioned setting.

Besides setting text selection off, grab and scroll mode makes page scrolling possible with mouse dragging. It is very useful, especially when you have a touchscreen. Copy and paste the link bellow to get to the mentioned setting.

−

opera:config#UserPrefs|ScrollIsPan

opera:config#UserPrefs|ScrollIsPan

−

It is also possible to change this setting on the fly by dragging and dropping the appropriate Opera button anywhere desired, found in appearance ({{Keypress|Shift+F12}}) -> buttons -> browser view.

+

It is also possible to change this setting on the fly by dragging and dropping the appropriate Opera button into a toolbar. The button can be found in ''Menu > Appearance > Buttons > Browser View''.

=== Long pressing a link opens it in a background tab (extension) ===

=== Long pressing a link opens it in a background tab (extension) ===

−

It is possible to open up any long-clicked link in a new background tab by installing [https://addons.opera.com/en/addons/extensions/details/open-in-background-with-long-press/ this] extension from myopera community.

+

It is possible to open up any long-clicked link in a new background tab by installing [https://addons.opera.com/en/addons/extensions/details/open-in-background-with-long-press/ this] extension.

=== Virtual On-Screen keyboard (extension) ===

=== Virtual On-Screen keyboard (extension) ===

Line 172:

Line 156:

== Troubleshooting ==

== Troubleshooting ==

−

−

=== Java on Arch64 ===

−

−

{{Accuracy}}

−

−

1. Add to {{ic|~/.bash_profile}}, or {{ic|/etc/profile}} to make this setting affect all logins:

Plugins

Opera can use Netscape-based plugins that are supported by most major browsers, like Firefox and Chromium. For details about different plugins and installation instructions see Browser Plugins. In Opera, the plugin path can be specified under Settings > Preferences... > Advanced > Content > Plug-in Options.

.xinitrc example

Command-line example

To use the variables from the command line call Opera as:

$ OPERAPLUGINWRAPPER_PRIORITY=0 OPERA_KEEP_BLOCKED_PLUGIN=1 opera &

Profile in tmpfs

Relocate the browser profile to a tmpfs filesystem, including /tmp for improvements in application response as the entire profile is now stored in RAM. Another benefit is a reduction in disk read and write operations, of which SSDs benefit the most.

There are currently two ways of doing this:

using Profile-sync-daemon, that automatically detects and relocates the Opera profile to tmpfs.

using the -pd command-line flag to tell Opera where to store its profile data:

$ opera -pd /tmp/opera

Appearance

Themes

Although Opera is cross-platform, it can be made to integrate very well into various Linux desktop environments.

Qt

To make the menus look integrated with Qt, install your preferred Qt theme and apply it by using qtconfig.

KDE

To make Opera use KDE icons, you can install a theme such as this one.

Tab modes

Opera has native support for tab cascading and tiling mode. Appropriate buttons can be found by activating the "Main" toolbar or by dragging and dropping the buttons anywhere desired, found in Menu > Appearance > Buttons > Browser.

Fonts

If the ttf-ms-fontsAUR package has been installed before running Opera for the first time, Opera will use those fonts by default, regardless of what is specified by local GTK+ options, GNOME or KDE font management. To force existing installations of Opera to use the options set by your system:

To open a new window for private browsing when already running Opera you can just press Template:Keypress or look under Menu > New Tabs and Windows > New Private Window. All subsequent opened tabs with be private as well.

Accessibility Tips

Disable text selection

It is possible to disable text selection in Opera. However, text selection through JavaScript will still work (for example in forms, etc.). To get to the setting follow the link bellow:

opera:config#System|DisableTextSelect

Grab and scroll mode

Besides setting text selection off, grab and scroll mode makes page scrolling possible with mouse dragging. It is very useful, especially when you have a touchscreen. Copy and paste the link bellow to get to the mentioned setting.

opera:config#UserPrefs|ScrollIsPan

It is also possible to change this setting on the fly by dragging and dropping the appropriate Opera button into a toolbar. The button can be found in Menu > Appearance > Buttons > Browser View.

Long pressing a link opens it in a background tab (extension)

It is possible to open up any long-clicked link in a new background tab by installing this extension.

Virtual On-Screen keyboard (extension)

There is an extension which allows the use of an on-screen virtual keyboard. Further details and installation link can be found here.

Troubleshooting

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.