Difference between revisions of "Opera"
|Line 27:||Line 27:|
=== Adobe Flash ===
=== Adobe Flash ===
=== Java Support ===
=== Java Support ===
Revision as of 08:14, 21 October 2012
|Summary help replacing me|
|Installing and configuration of the Opera browser and plugins.|
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.
- 1 Installation
- 2 Plugins
- 3 Performance tweaks
- 4 Appearance
- 5 Private tabs
- 6 Accessibility Tips
- 7 Troubleshooting
- 8 See Also
Development versions can be found in the AUR:
- AUR - a beta release version.
- AUR - an alpha/development version.
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.
To use OpenJDK, you have to install the IcedTea browser plugin:
- for version 6 of the Java environment.
- for version 7 of the Java environment.
If you want to use Oracle's JRE you have to install the AUR.AUR or AUR package, available in the
See Java#OpenJDK JVM for additional details and references.
Install Adblock support using the AUR.AUR package from the
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 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
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
Another environment variable which may help resolve Flash issues:
See the blog article Flash problems on Linux? for additional details.
... export OPERAPLUGINWRAPPER_PRIORITY=0 export OPERA_KEEP_BLOCKED_PLUGIN=0 ...
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 [Fstab#tmpfs|tmpfs] filesystem, including
/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.
There are currently two ways of doing this:
- using Profile-sync-daemon, that automatically detects and relocates the Opera profile to tmpfs.
- using the
-pdcommand-line flag to tell Opera where to store its profile data:
$ opera -pd /tmp/opera
Although Opera is cross-platform, it can be made to integrate very well into various Linux desktop environments.
- To make the menus look integrated with Qt, install your preferred Qt theme and apply it by using
- To make Opera use KDE icons, you can install a theme such as this one.
- A nice GTK+ skin that uses the Tango icon theme can be found here.
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 can be configured under Settings > Preferences... > Advanced > Fonts.
If the GNOME or KDE font management. To force existing installations of Opera to use the options set by your system:AUR 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,
- Close all running instances of Opera.
- Un-install the AUR 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
~/.operaexcept for the
- Re-install the AUR package, if desired.
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 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 Template:Keypress or look under Menu > New Tabs and Windows > New Private Window. All subsequent opened tabs with be private as well.
Disable text selection
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.
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.
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.
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.
- 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
Backinput contexts and edit the appropriate button shortcuts to
- 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.
- Set the following line under
[Site Navigation Toolbar.content]in
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:
This will disable GTK+ styling support and hence avoid the issue.