Difference between revisions of "Opera"

From ArchWiki
Jump to navigation Jump to search
(update status of external links (interactive))
Tag: wiki-scripts
 
(254 intermediate revisions by 54 users not shown)
Line 1: Line 1:
[[Category:Internet and Email (English)]]
+
[[Category:Web browser]]
[[Category:HOWTOs (English)]]
+
[[bg:Opera]]
{{i18n_links_start}}
+
[[cs:Opera]]
{{i18n_entry|Česky|Opera (Česky)}}
+
[[de:Opera]]
{{i18n_entry|English|Opera}}
+
[[es:Opera]]
{{i18n_entry|简体中文|Opera(简体中文)}}
+
[[fr:opera]]
{{i18n_entry|Español|Opera (Español)}}
+
[[it:Opera]]
{{i18n_entry|Italian|Opera_(Italiano)}}
+
[[ja:Opera]]
{{i18n_links_end}}
+
[[pt:Opera]]
 +
[[zh-hans:Opera]]
 +
{{Related articles start}}
 +
{{Related|Browser plugins}}
 +
{{Related|Chromium}}
 +
{{Related|Otter Browser}}
 +
{{Related|Vivaldi}}
 +
{{Related articles end}}
  
[http://www.opera.com Opera] is a web browser and internet suite developed by [http://www.opera.com/company/ Opera Software]
+
{{Out of date|This information may not be representative of the state of Opera. Some options presented in this article cannot be accessed in the ways described.}}
:"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." <small>[[Wikipedia:Opera_(web_browser)|Wikipedia]]</small>
+
 
 +
[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.
  
 
== Installation ==
 
== Installation ==
Opera has been moved to the [[AUR]] due to licensing issues.
 
  
To install the latest stable Opera with [[yaourt]]:
+
[[Install]] the {{Pkg|opera}} package.
$ yaourt -S opera
+
 
 +
=== Old Presto version ===
 +
The current Opera uses the modern and open-source Blink engine. You can still use the old proprietary Presto layout engine by installing Opera 12.16 with the {{AUR|opera-legacy}} package.
 +
 
 +
Using Presto-based Opera isn't recommended because of security and compliance with modern web standards. Instead you can try [[Vivaldi]] by former Opera team members or [[Otter Browser]] with really similar UI.
 +
 
 +
== Plugins ==
 +
 
 +
For details about different plugins and installation instructions see [[Browser plugins]]. Note that Opera no longer supports the Netscape plugin API (NPAPI), but only the newer Pepper plugin API (PPAPI).
 +
 
 +
=== Adblock ===
 +
{{Tip|Opera also has a built-in ad blocker which can be enabled in Settings.}}
  
{{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'''.}}
+
Install Adblock support using the {{AUR|opera-adblock-complete}} package.
  
=== Static build ===
+
== Performance tweaks ==
Opera is also available statically linked against the Qt libraries. This is preferable if the associated Qt packages are not wanted.
+
Although Opera is fast on modern hardware, it can be made even faster.
  
Download the {{Package AUR|opera-static}} package for i686 (''Obsolete:'' not updated to Opera 10 as of Thu Sep 2009) in the AUR.
+
=== 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.]
  
== Optional tweaks ==
+
Some commonly disabled features are:
* To remove the tray icon, launch Opera with the {{Codeline|-notrayicon}} option.
+
* '''Systray Icon''': uncheck ''Show Tray Icon'' under opera:config#UserPrefs.
  $ opera -notrayicon
+
* '''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 make the menus look integrated with Qt, install your preferred Qt4 theme and apply it by using {{Codeline|qtconfig}} ({{Filename|/usr/bin/qtconfig}}, installed as a dependency for the non-static Opera package).
+
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.
  
* 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]
+
=== Profile in tmpfs ===
 +
Relocate the browser profile to a [[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.
  
* To improve flash performance in Opera, issue this command before starting opera, or add it to {{Filename|~/.bash_profile}} (alternatively, {{Filename|/etc/profile}} to make the change system-wide):
+
There are currently two ways of doing this:
  export OPERAPLUGINWRAPPER_PRIORITY=0
+
* using [[Profile-sync-daemon]], that automatically detects and relocates the Opera profile to tmpfs.
 +
* using the {{ic|-pd}} command-line flag to tell Opera where to store its profile data:
 +
$ opera -pd /tmp/opera
  
=== Microsoft fonts and Opera ===
+
== Appearance ==
If {{Package Official|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:
+
=== 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 {{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]{{Dead link|2014|04|05}}.
 +
; 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]{{Dead link|2014|04|05}}.
  
1. Before proceding, close every Opera instance.
+
=== Title bar ===
 +
The title bar can be hidden by right-clicking on the tab bar, then unchecking "Show Border".  
  
2. Uninstall ttf-ms-fonts.
+
=== 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''.
  
3. <code>rm -rf ~/.opera</code>
+
=== Fonts ===
 +
Fonts can be configured under ''Settings > Preferences... > Advanced > Fonts''.  
  
{{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.}}
+
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.
 +
* Un-install the {{AUR|ttf-ms-fonts}} package.
 +
* Move the existing profile folder: {{ic|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 {{ic|~/.opera.bak}} to {{ic|~/.opera}} except for the {{ic|operaprefs.ini}} file.
 +
* Re-install the {{AUR|ttf-ms-fonts}} package, if desired.
  
4. Finally, run Opera again. You can reinstall ttf-ms-fonts after doing this.
+
{{Note|If no text except numbers is showing on some of the webpages that might be a problem with the fonts. A known issue that causes this problem is the ''helvetica'' pfb postscript fonts.}}
  
{{Note|All fonts are configurable at ''Tools -> Preferences -> Advanced -> Fonts'', and fonts specified by qtconfig take precedence over GNOME managed fonts.}}
+
== 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
  
== Troubleshooting ==
+
This is similar to the [http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=95464 --incognito option] in Chrome/[[Chromium]] and [[MozillaWiki:Private Browsing|Private Browsing]] 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 {{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 ==
 +
 
 +
=== 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 [https://addons.opera.com/en/addons/extensions/details/open-in-background-with-long-press/ this]{{Dead link|2020|04|01|status=404}} extension.
 +
 
 +
=== Virtual On-Screen keyboard (extension) ===
  
=== Java on Arch64 ===
+
There is an extension which allows the use of an on-screen virtual keyboard. Further details and installation link can be found [https://addons.opera.com/en/addons/extensions/details/virtual-keyboard/ here]{{Dead link|2020|04|01|status=404}}.
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 {{Filename|~/.bash_profile}}, or {{Filename|/etc/profile}} to make this setting affect all logins:
+
== Security ==
# openjdk
 
export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/server/
 
# jre
 
export LD_LIBRARY_PATH=/opt/java/jre/lib/amd64/server/
 
Alternatively, create a symlink to {{Filename|libjvm.so}}:
 
# openjdk
 
cd /usr/lib/jvm/java-1.6.0-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''.
+
=== Force a password store ===
#openjdk
 
/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/
 
#jre
 
/opt/java/jre/lib/amd64/
 
  
=== Fonts seem too big ===
+
Since current Opera uses the same engine as Chromium does, you can force Opera to use a specific password store by launching it with the {{ic|--password-store}} flag. For more details see [[Chromium/Tips and tricks#Force a password store]].
Forcing Opera to use an specific DPI setting (not needed since Opera 10) might be a solution.
 
  
Simply type:
+
== Troubleshooting ==
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 ===
+
=== Slow scrolling on NVIDIA cards ===
 
Try running the following command:
 
Try running the following command:
 
  $ nvidia-settings -a InitialPixmapPlacement=2
 
  $ nvidia-settings -a InitialPixmapPlacement=2
 
On some computers, http://helion.pl works extremely slow without this hack, making it a perfect site for testing.
 
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 {{ic|Forward}} and {{ic|Back}} input contexts and edit the appropriate button shortcuts to {{ic|scroll left}} and {{ic|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 {{ic|Open With}} menu accessed via the right mouse button.}}
 +
 +
* Set the following line under {{ic|[Site Navigation Toolbar.content]}} in {{ic|$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:
 +
{{ic|env GTK_THEME&#61;<light-theme-name> 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 GTK_THEME&#61;Clearlooks /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.
 +
 +
== See Also ==
 +
* [http://operawiki.info/Opera Opera Wiki]{{Dead link|2017|06|02}}
 +
* [http://www.opera.com/support/kb/ Opera Knowledge Base]
 +
* [http://my.opera.com/community/forums/forum.dml?id=3 Opera For UNIX Forums]{{Dead link|2017|06|02}}
 +
* [http://www.opera.com/support/bugs/ Opera Bug Report]
 +
* [http://www.opera.com/browser/tips/ Opera Tips]
 +
* [http://www.opera.com/docs/ Opera Documentation]{{Dead link|2020|04|01|status=404}}
 +
* [http://help.opera.com/Linux/12.10/en/ Opera Help]

Latest revision as of 13:40, 1 April 2020

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: This information may not be representative of the state of Opera. Some options presented in this article cannot be accessed in the ways described. (Discuss in Talk:Opera#)

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.

Installation

Install the opera package.

Old Presto version

The current Opera uses the modern and open-source Blink engine. You can still use the old proprietary Presto layout engine by installing Opera 12.16 with the opera-legacyAUR package.

Using Presto-based Opera isn't recommended because of security and compliance with modern web standards. Instead you can try Vivaldi by former Opera team members or Otter Browser with really similar UI.

Plugins

For details about different plugins and installation instructions see Browser plugins. Note that Opera no longer supports the Netscape plugin API (NPAPI), but only the newer Pepper plugin API (PPAPI).

Adblock

Tip: Opera also has a built-in ad blocker which can be enabled in Settings.

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

Performance tweaks

Although Opera is fast on modern hardware, it can be made even faster.

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.

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[dead link 2014-04-05].
GTK
A nice GTK skin that uses the Tango icon theme can be found here[dead link 2014-04-05].

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.
Note: If no text except numbers is showing on some of the webpages that might be a problem with the fonts. A known issue that causes this problem is the helvetica pfb postscript fonts.

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 Private Browsing 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[dead link 2020-04-01 ⓘ] 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[dead link 2020-04-01 ⓘ].

Security

Force a password store

Since current Opera uses the same engine as Chromium does, you can force Opera to use a specific password store by launching it with the --password-store flag. For more details see Chromium/Tips and tricks#Force a password store.

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 GTK_THEME=<light-theme-name> 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 GTK_THEME=Clearlooks /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