Opera (Português)

From ArchWiki
Revision as of 16:08, 13 March 2013 by M4rQu1Nh0S (talk | contribs) (Created page with "bg:Opera cs:Opera de:Opera es:Opera en:Opera fr:opera it:Opera Category:Web Browser {{Article summary start}} {{Article summary text|Installing...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 é um navegador da web livre e gratuito desenvolvido desde de 1994 pela empresa norueguesa Opera Software. Ele é conhecido por ser o primeiro a trazer novos recursos de navegação para o mundo que se tornaram comuns em todos os navegadores da Web, como navegação por abas e construído em pesquisa.

Opera continua a inovar com o seu cliente de email integrado, de um clique bookmarking, pilhas guia (uma forma de organizar suas abas) e suporte muito bom para recursos HTML5.


Opera pode ser instalado através o pacote opera, disponível nos repositórios oficiais.

Versões em desenvolvimento podem ser encontradas no AUR:


Opera pode usar plugins baseados em Netscape que são suportados pela maioria dos principais navegadores, como o Firefox e Chromium. Para obter detalhes sobre plugins diferentes e instruções de instalação veja: Browser Plugins. No Opera, o caminho plugin pode ser especificado em Configurações > Preferências... > Avançado > Conteúdo > Opções de plug-in....

Adobe Flash


Suporte ao Java



O suporte ao Adblock pode ser instalado usando o pacote opera-adblock-completeAUR disponível no AUR.

Ajustes de performance

Apesar do Opera ser bastante rápido em hardware modernos, ele pode ser otimizado ainda mais. Para mais informações, consulte a Página wiki do Opera sobre performance.

Desabilitando características e serviços

Uma das chaves para a maximização de desempenho do aplicativo é desativar características indesejáveis e serviços habilitadas por padrão em opera:config Editor de Preferências.

Alguns recursos normalmente desativados são:

  • Ícone na área de notificação: desmarque Show Tray Icon em opera:config#Show Tray Icon.
  • BitTorrent: desmarque Enable em opera:config#BitTorrent|Enable.
  • Geolocation: desmarque Enable geolocation em opera:config#Geolocation|Enable geolocation.
  • Multimedia: desmarque as opções indesejadas em opera:config#Multimedia.
  • Web Server: desmarque Enable em opera:config#Web Server|Enable.

Para maior facilidade em localizar essas opções, apenas escreva o caminho respectivo (sem espaços) na barra de endereços, por exemplo opera:config#UserPrefs|Show Tray Icon ou use a pesquisa embutida.

Desativar o cliente de E-mail

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:


Another environment variable which may help resolve Flash issues:


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

.xinitrc example


Command-line example

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


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



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 qtconfig.
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.

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


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.

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.


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


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
export OPERA_DIR=${OPERA_DIR:-/usr/share/opera}
exec /usr/lib/opera/opera "$@"

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

export OPERA_DIR=${OPERA_DIR:-/usr/share/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