To enable Java support in Opera, you have two options: use either Oracle's JRE or the [[Wikipedia:Openjdk|OpenJDK]] environment (recommended). For details about why OpenJDK is recommended see [http://mailman.archlinux.org/pipermail/arch-general/2011-August/021671.html this].

+

−

+

−

To use OpenJDK, you have to install the [http://icedtea.classpath.org/wiki/Main_Page IcedTea] browser plugin:

+

−

* {{Pkg|icedtea-web}} for version 6 of the Java environment.

+

−

* {{Pkg|icedtea-web-java7}} for version 7 of the Java environment.

+

−

+

−

If you want to use Oracle's JRE you have to install the {{AUR|jre}} or {{AUR|jre6}} package, available in the [[AUR]].

+

−

+

−

See [[Java#OpenJDK JVM]] for additional details and references.

+

=== Adblock ===

=== Adblock ===

Line 57:

Line 46:

* '''Web Server''': uncheck ''Enable'' under opera:config#Web Server.

* '''Web Server''': uncheck ''Enable'' under opera:config#Web Server.

−

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.

+

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 built-in search.

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

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

Line 70:

Line 59:

=== Improving Flash performance ===

=== 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}}:

+

To improve Flash performance you can set the following environment variables before starting Opera, or export the entries in [[xinitrc]], or [[Bash|~/.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

Line 92:

Line 81:

=== Profile in tmpfs ===

=== Profile in tmpfs ===

−

Relocate the browser profile to a [Fstab#tmpfs|tmpfs] filesystem, including {{ic|/tmp}} 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 SSDs benefit the most.

+

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.

There are currently two ways of doing this:

There are currently two ways of doing this:

Line 107:

Line 96:

; 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].

; 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].

+

=== Title bar ===

+

The title bar can be hidden by right-clicking on the tab bar, then unchecking "Show Border".

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.

+

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

== Accessibility Tips ==

== Accessibility Tips ==

Line 201:

Line 192:

This will disable GTK+ styling support and hence avoid the issue.

This will disable GTK+ styling support and hence avoid the issue.

+

+

=== Unreadable input fields and address bar with dark GTK+ themes ===

+

+

When using a dark GTK theme, one might encounter Opera address bar and Internet pages with unreadable input and text fields (e.g. Amazon can have black text on black text field background). This can happen because the site only sets either background or text color, and Opera takes the other one from the theme.

+

+

Using an installed clear theme and a command help to work around the problem:

Installation

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.

Title bar

The title bar can be hidden by right-clicking on the tab bar, then unchecking "Show Border".

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 Ctrl+Shift+N 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.

Opera crashes when starting or closing with GTK+ 2.24.7+

If this crash occurs, you can work around it by changing the DialogToolkit option to 4:

opera:config#FileSelector|DialogToolkit

This will disable GTK+ styling support and hence avoid the issue.

Unreadable input fields and address bar with dark GTK+ themes

When using a dark GTK theme, one might encounter Opera address bar and Internet pages with unreadable input and text fields (e.g. Amazon can have black text on black text field background). This can happen because the site only sets either background or text color, and Opera takes the other one from the theme.

Using an installed clear theme and a command help to work around the problem:
env GTK2_RC_FILES=/usr/share/themes/<light-theme-name/gtk-2.0/gtkrc opera

to turn it as default, use a prefered text editor and edit the file /usr/bin/opera.
e.g. using Opera 12.14: