Difference between revisions of "Opera"

From ArchWiki
Jump to: navigation, search
(clean it up a little. fixed some links and whatnot in the process.)
(Undo revision 281130 by Lahwaacz (talk) - not true until v15, see https://mailman.archlinux.org/pipermail/aur-general/2013-November/026029.html)
(22 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
[[bg:Opera]]
 
[[bg:Opera]]
 
[[cs:Opera]]
 
[[cs:Opera]]
 +
[[de:Opera]]
 
[[es:Opera]]
 
[[es:Opera]]
 
[[fr:opera]]
 
[[fr:opera]]
 
[[it:Opera]]
 
[[it:Opera]]
 +
[[pt:Opera]]
 
[[Category:Web Browser]]
 
[[Category:Web Browser]]
 +
{{Article summary start}}
 +
{{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.
  
[http://www.opera.com Opera] is a free of charge web browser developed since 1994 by the Norwegian company Opera Software. Opera 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 continues to innovate with its integrated mail client, one-click bookmarking, tab stacks (a way of organizing your tabs) and very good support for HTML5 features.   
+
Opera continues to innovate with its integrated mail client, one-click bookmarking, tab stacks (a way of organizing your tabs) and very good support for [[Wikipedia:HTML5|HTML5]] features.   
  
 
== Installation ==
 
== Installation ==
 
Opera can be [[Pacman|installed]] with the package {{Pkg|opera}}, available in the [[official repositories]].
 
Opera can be [[Pacman|installed]] with the package {{Pkg|opera}}, available in the [[official repositories]].
 
Development versions can be found in the [[AUR]]:
 
* {{AUR|opera-beta}} - a beta release version.
 
* {{AUR|opera-next}} - an alpha/development version.
 
  
 
== Plugins ==
 
== Plugins ==
Opera can use Mozilla-based plugins; see [[Browser Plugins]] for details. The plugin path can be specified under {{ic|Settings > Preferences > Advanced > Content > Plug-in Options}}
+
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''.
  
 
=== Adobe Flash ===
 
=== Adobe Flash ===
Install the {{Pkg|flashplugin}} package from the [[official repositories]].
+
{{Box||See the main article: [[Browser Plugins#Flash Player]]|#E5E5FF|#FCFCFC}}
 +
 
 +
=== Java Support ===
 +
{{Box||See the main article: [[Browser Plugins#Java (IcedTea)]]|#E5E5FF|#FCFCFC}}
 +
 
 +
=== Adblock ===
 +
Install Adblock support using the {{AUR|opera-adblock-complete}} package from the [[AUR]].
  
 
== Performance tweaks ==
 
== 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.
 +
 
=== Disabling features and services ===
 
=== Disabling features and services ===
 
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.]
 
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.]
Line 31: Line 45:
 
* '''Multimedia''': unckeck desired options under opera:config#Multimedia.
 
* '''Multimedia''': unckeck desired options under opera:config#Multimedia.
 
* '''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 built-in search.
  
 
==== Disable the e-mail client ====
 
==== Disable the e-mail client ====
Line 36: Line 52:
 
  $ opera -nomail
 
  $ opera -nomail
  
Alternatively, if you want to permanently disable the internal e-mail client without using you can uncheck the ''Show E-mail Client'' option under opera:config#UserPrefs.
+
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.
  
 
==== Disable ARGB, LIRC and mailto links ====
 
==== Disable ARGB, LIRC and mailto links ====
To start Opera without an [[Wikipedia:ARGB|ARGB]] (32-bit) visual, without [http://www.lirc.org/ LIRC] infrared control support and {{ic|mailto:}} links disabled:
+
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  
 
  $ opera -noargb -nolirc -nomaillinks  
  
 
=== 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 65: 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 80: 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".
 +
 +
=== 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''.
 
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 ===
 
=== Fonts ===
Fonts can be configured under ''Settings > Preferences > Advanced > Fonts''.  
+
Fonts can be configured under ''Settings > Preferences... > Advanced > Fonts''.  
  
 
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:
 
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:
Line 100: Line 120:
 
* 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]]. To open a new window for private browsing you can just press {{Keypress|Ctrl+Shift+N}}. All subsequent opened tabs with be private as well.
+
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]].  
  
To open a private window from the command-line use:
+
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:
* Set {{ic|Settings > Preferences... > General > Startup > Start without open tabs}}
+
* Set ''Settings > Preferences... > General > Startup > Start without open tabs''.
* Clear any entries in {{ic|Settings > Preferences... > General > Home page option}}
+
* Clear any entries in ''Settings > Preferences... > General > Home page option''.
* Enable {{ic|Settings > Preferences... > Advanced > Tabs > Additional tab options... > Allow windows with no tabs}}
+
* Enable ''Settings > Preferences... > Advanced > Tabs > Additional tab options... > Allow windows with no tabs''.
  
== Java Support ==
+
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.
 
+
To enable Java support in Opera, you have a two options: use 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].
+
 
+
There are multiple versions of OpenJDK in the [[official repositories]]:
+
* {{Pkg|openjdk6}}: version 6 of the Java environment.
+
* {{Pkg|jre-openjdk7}}: version 7 of the Java environment.
+
 
+
OpenJDK does not provide a browser plugin by itself so you have to install the respective packages:
+
* {{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.
+
  
 
== Accessibility Tips ==
 
== Accessibility Tips ==
Line 130: Line 136:
 
=== Disable text selection ===
 
=== Disable text selection ===
  
It is possible to disable text selection in Opera. However, text selection through JavaScript will still work (fro example 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 149: Line 155:
  
 
== Troubleshooting ==
 
== Troubleshooting ==
 
=== Java on Arch64 ===
 
 
{{Accuracy}}
 
 
1. Add to {{ic|~/.bash_profile}}, or {{ic|/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 {{ic|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 .
 
 
2. Edit the path to Java in Opera: ''Menu -> Tools -> Preferences -> Advanced -> Content -> Plugin-Options''.
 
#openjdk
 
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/
 
#jre
 
/opt/java/jre/lib/amd64/
 
  
 
=== Slow scrolling on NVIDIA cards ===
 
=== Slow scrolling on NVIDIA cards ===
Line 179: Line 162:
  
 
=== Horizontal mouse wheel scrolling ===
 
=== Horizontal mouse wheel scrolling ===
Check {{ic|Settings > Preferences > Advanced > Shortcuts > Mouse > Middle-Click Options... > Enable horizontal panning}}
+
Check ''Settings > Preferences... > Advanced > Shortcuts > Mouse > Middle-Click Options... > Enable horizontal panning''.
  
 
or
 
or
  
* Highlight {{ic|Settings > Preferences > Advanced > Shortcuts > Mouse > Opera Standard}}
+
* Highlight ''Settings > Preferences... > Advanced > Shortcuts > Mouse > Opera Standard''.
* Duplicate {{ic|Settings > Preferences > Advanced > Shortcuts > Mouse > Opera Standard}}
+
* Duplicate ''Settings > Preferences... > Advanced > Shortcuts > Mouse > Opera Standard''.
* Edit... {{ic|Settings > Preferences > Advanced > Shortcuts > Mouse > Copy of Opera Standard}}
+
* Edit... ''Settings > Preferences... > Advanced > Shortcuts > Mouse > Copy of Opera Standard''.
* Search the {{ic|Forward}} and {{ic|Back}} input contexts and edit the appropriate button shortcuts to {{ic|scroll left}} and {{ic|scroll right}}
+
* Search the {{ic|Forward}} and {{ic|Back}} input contexts and edit the appropriate button shortcuts to {{ic|scroll left}} and {{ic|scroll right}}.
* Rename {{ic|Settings > Preferences > Advanced > Shortcuts > Mouse > Copy of Opera Standard}} as desired
+
* Rename ''Settings > Preferences... > Advanced > Shortcuts > Mouse > Copy of Opera Standard'' as desired.
  
 
=== Launching an external browser ===
 
=== Launching an external browser ===
Opera does not display sites well at times. A workaround is to launch the currently displayed page in an external browser.
+
If Opera does not display a site well, a workaround is to launch the currently displayed page in an external browser.
  
 
{{Note|The following method appears to be deprecated in favor of the built-in {{ic|Open With}} menu accessed via the right mouse button.}}
 
{{Note|The following method appears to be deprecated in favor of the built-in {{ic|Open With}} menu accessed via the right mouse button.}}
Line 205: Line 188:
 
=== Opera crashes when starting or closing with GTK+ 2.24.7+ ===
 
=== Opera crashes when starting or closing with GTK+ 2.24.7+ ===
  
You can work around this for now by changing the ''DialogToolkit'' option to 4:
+
If this crash occurs, you can work around it by changing the ''DialogToolkit'' option to 4:
 
  opera:config#FileSelector|DialogToolkit
 
  opera:config#FileSelector|DialogToolkit
  
This will disable GTK+ styling support and hence avoid the issue. It will probably be fixed in the next Opera release (11.60+).
+
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:
 +
{{ic|env GTK2_RC_FILES&#61;/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 {{ic|/usr/bin/opera}}.
 +
e.g. using Opera 12.14:
 +
{{bc|
 +
sudo gedit /usr/bin/opera
 +
...
 +
#!/bin/sh
 +
export OPERA_DIR&#61;${OPERA_DIR:-/usr/share/opera}
 +
export OPERA_PERSONALDIR&#61;${OPERA_PERSONALDIR:-$HOME/.opera}
 +
exec /usr/lib/opera/opera "$@"
 +
}}
 +
 
 +
edit the file and follow the example changing to...
 +
{{bc|
 +
/usr/bin/opera
 +
...
 +
#!/bin/sh
 +
export OPERA_DIR&#61;${OPERA_DIR:-/usr/share/opera}
 +
export OPERA_PERSONALDIR&#61;${OPERA_PERSONALDIR:-$HOME/.opera}
 +
env GTK2_RC_FILES&#61;/usr/share/themes/Clearlooks/gtk-2.0/gtkrc /usr/lib/opera/opera "$@"
 +
}}
 +
 
 +
this will make the browser use a clear theme that you set in the file {{ic|/usr/bin/opera}} that was used in the above example the theme "Clearlooks" and the problems will be solved.
  
==Additional Resources==
+
== See Also ==
* [http://operawiki.info/Opera Opera Browser Wiki]
+
* [http://operawiki.info/Opera Opera Wiki]
 
* [http://www.opera.com/support/kb/ Opera Knowledge Base]
 
* [http://www.opera.com/support/kb/ Opera Knowledge Base]
 
* [http://my.opera.com/community/forums/forum.dml?id=3 Opera For UNIX Forums]
 
* [http://my.opera.com/community/forums/forum.dml?id=3 Opera For UNIX Forums]
 +
* [http://www.opera.com/support/bugs/ Opera Bug Report]
 +
* [http://www.opera.com/browser/tips/ Opera Tips]
 +
* [http://www.opera.com/docs/ Opera Documentation]
 +
* [http://help.opera.com/Linux/12.10/en/ Opera Help]

Revision as of 06:56, 6 November 2013

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end Opera is a free of charge web browser developed since 1994 by the Norwegian company 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 continues to innovate with its integrated mail client, one-click bookmarking, tab stacks (a way of organizing your tabs) and very good support for HTML5 features.

Installation

Opera can be installed with the package opera, available in the official repositories.

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.

Adobe Flash

Template:Box

Java Support

Template:Box

Adblock

Install Adblock support using the opera-adblock-completeAUR package from the AUR.

Performance tweaks

Although Opera is quite fast on modern hardware, it can be tweaked even more. For further examples, see the Opera wiki page on performance.

Disabling features and services

One of the keys to maximizing application performance is to disable undesired features and services through the native opera:config Preferences Editor.

Some commonly disabled features are:

  • Systray Icon: uncheck Show Tray Icon under opera:config#UserPrefs.
  • BitTorrent: uncheck Enable under opera:config#BitTorrent.
  • Geolocation: uncheck Enable geolocation under opera:config#Geolocation.
  • Multimedia: unckeck desired options under opera:config#Multimedia.
  • 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 opera:config#UserPrefs|ShowTrayIcon or use the built-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

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.

Disable ARGB, LIRC and mailto links

To start Opera without ARGB (32-bit) visuals, LIRC infrared control support and with 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 ~/.bash_profile, or for system-wide changes, to /etc/profile:

 OPERAPLUGINWRAPPER_PRIORITY=0
 OPERA_KEEP_BLOCKED_PLUGIN=1

Another environment variable which may help resolve Flash issues:

GDK_NATIVE_WINDOWS=1

See the blog article Flash problems on Linux? for additional details.

.xinitrc example

~/.xinitrc
...
export OPERAPLUGINWRAPPER_PRIORITY=0
export OPERA_KEEP_BLOCKED_PLUGIN=0
...

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.
GTK+
A nice GTK+ skin that uses the Tango icon theme can be found here.

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

Fonts can be configured under Settings > Preferences... > Advanced > 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:

  • Close all running instances of Opera.
  • Un-install the ttf-ms-fontsAUR package.
  • Move the existing profile folder: mv -i ~/.opera ~/.opera.bak
  • Run an instance of Opera and verify that your font manager settings have been applied.
  • Restore bookmarks and desired filter files from ~/.opera.bak to ~/.opera except for the operaprefs.ini file.
  • Re-install the ttf-ms-fontsAUR package, if desired.

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:

  • Cache
  • Cookies
  • History
  • Logins

This is similar to the --incognito option in Chrome/Chromium and PrivateBrowsing in Firefox.

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

$ opera -newprivatetab

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

  • Set Settings > Preferences... > General > Startup > Start without open tabs.
  • Clear any entries in Settings > Preferences... > General > Home page option.
  • Enable Settings > Preferences... > Advanced > Tabs > Additional tab options... > Allow windows with no tabs.

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.

Horizontal mouse wheel scrolling

Check Settings > Preferences... > Advanced > Shortcuts > Mouse > Middle-Click Options... > Enable horizontal panning.

or

  • Highlight Settings > Preferences... > Advanced > Shortcuts > Mouse > Opera Standard.
  • Duplicate Settings > Preferences... > Advanced > Shortcuts > Mouse > Opera Standard.
  • Edit... Settings > Preferences... > Advanced > Shortcuts > Mouse > Copy of Opera Standard.
  • Search the Forward and Back input contexts and edit the appropriate button shortcuts to scroll left and scroll right.
  • Rename Settings > Preferences... > Advanced > Shortcuts > Mouse > Copy of Opera Standard as desired.

Launching an external browser

If Opera does not display a site well, a workaround is to launch the currently displayed page in an external browser.

Note: The following method appears to be deprecated in favor of the built-in Open With menu accessed via the right mouse button.
  • Set the following line under [Site Navigation Toolbar.content] in $HOME/.opera/toolbar/standard_toolbar.ini:
Button0, "Chromium"="Execute program, "chromium, "%u", , "Chromium""
  • If Firefox is desired, or preferred:
Button0, "Firefox"="Execute program, "firefox", "%u", , "Firefox""
  • Any number of command-line options may be included in the string:
Button0, "Chromium"="Execute program, "chromium --block-nonsandboxed-plugins --disable-java --incognito --safe-plugins --start-maximized --user-data-dir=/tmp/.chromium", "%u", , "Chromium""

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:

sudo gedit /usr/bin/opera
...
#!/bin/sh
export OPERA_DIR=${OPERA_DIR:-/usr/share/opera}
export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-$HOME/.opera}
exec /usr/lib/opera/opera "$@"

edit the file and follow the example changing to...

/usr/bin/opera
...
#!/bin/sh
export OPERA_DIR=${OPERA_DIR:-/usr/share/opera}
export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-$HOME/.opera}
env GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc /usr/lib/opera/opera "$@"

this will make the browser use a clear theme that you set in the file /usr/bin/opera that was used in the above example the theme "Clearlooks" and the problems will be solved.

See Also