Opera
From Gentoo Linux Wiki
Contents |
[edit] About
Opera is a web browser and Internet suite. It handles common Internet-related tasks such as displaying web sites, sending and receiving e-mail messages, managing contacts, IRC online chatting, downloading files via BitTorrent, and reading web feeds. It is not free software. Features of Opera include high performance, tabbed browsing, page zooming, mouse gestures, and an integrated download manager. Its security features include built-in phishing protection, strong encryption when browsing secure web sites, and the ability to easily delete private data such as cookies and browsing history by simply clicking a button.
[edit] Installation
To install Opera, run: emerge -av opera
[edit] Fonts
To make opera using better looking fonts you can optionally disable xft and core fonts: sudo nano /opt/opera/share/opera/ini/font.ini and uncomment lines: engine:xft=blacklist and engine:x11=blacklist. Consider, however, that CJK languages will no longer display in Opera (my experience, at least).
[edit] Auto-detect proxy settings
Certain computer networks (workplace, university, etc.) require that "Automatically Detect Setting" as in Internet Explorer or "Auto-Detect Proxy Setting for this network" as in Mozilla Firefox be used in order to connect to the Internet. Opera doesn't provide such an option (not 9.23, at least). Although Opera allows one to use an auto-configuration script, it is not able to automatically determine the address of the proxy script. One work around this problem is to determine the proxy settings that Mozilla Firefox uses and set these settings in Opera. To do this, you have to:
- make sure you have a working Internet connection with Firefox,
- browse for a web page (just to make sure),
- determine the proxy by accessing this web page (listed next to the HTTP_VIA variable),
- fill the URL in Opera's Preferences > Advanced > Network > Proxy servers, for the protocols you need (probably HTTP, HTTPS and FTP).
Now Opera should be back on-line. See also Http proxy and the original forum thread.
[edit] Plugins
[edit] Adobe Flash
see Adobe Flash
[edit] gecko-mediaplayer
Consider using gecko-mediaplayer instead of Mplayer Plug-In, by the same author and also based on MPlayer. "Gecko Media Player is a browser plugin that uses GNOME MPlayer to play media in a browser. It should work with all browsers on Unix-ish systems(Linux, BSD, Solaris) and use the NS4 API (Mozilla, Firefox, Opera, etc.)."
emerge -tva gnome-mplayer gecko-mediaplayer
Here seems to work quite fine with Opera.
[edit] MPlayer Plug-In
As of opera-9.50_beta and mplayerplug-in-3.45 no special steps are needed to compile mplayerplug-in for use with Opera. However, Opera may still leave zombie instances of mplayer in memory after the video ends.
[edit] Searchbar
[edit] Drop Down Search Menu
I found a good explanation You can replace search lines in the Opera browser
$ nano ~/.opera/search.ini
original
| File: ~/.opera/search.ini |
|
... [Search Engine 14] Name=Translation URL=http://r.lycos.com/r/opipreftrans/http://translation.lycos.com/lycos?urltext=%s&systran_lp=en_fr&partner=demo-Lycos2-en Query= Key= Is post=0 Has endseparator=0 Encoding=iso-8859-1 Search Type=100 Verbtext=17063 Position=-1 Nameid=0 ... |
this one will search on gentoo-portage.com
| File: ~/.opera/search.ini |
|
... [Search Engine 14] Name=gentoo-portage URL=http://www.gentoo-portage.com/search-result.php?search=%s Query= Key= Is post=0 Has endseparator=0 Encoding=iso-8859-1 Search Type=100 Verbtext=17063 Position=-1 Nameid=0 ... |
as it was suggested on the forum you can use
- Gentoo Forum Search
http://forums.gentoo.org/search.php?search_keywords=%s
- Portage Search
http://www.gentoo-portage.com/search-result.php?search=%s
- Gentoo Bug Search
http://bugs.gentoo.org/show_bug.cgi?id=%s
- Gentoo-Wiki
[edit] Custom Drop Down Search
Search Preferences Tab in Opera
- My ~/.opera/search.ini file:
| File: ~/.opera/search.ini |
|
... [Search Engine 1] Name=Find &in page URL= Query= Key=i Is post=0 Has endseparator=-1 Encoding= Search Type=0 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 2] Name=&Google URL=http://www.google.com/search?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8 Query= Key=g Is post=0 Has endseparator=0 Encoding=utf-8 Search Type=0 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 3] Name=Google &Linux URL=http://www.google.com/linux?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8 Query= Key=l Is post=0 Has endseparator=0 Encoding=utf-8 Search Type=0 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 4] Name=Google G&roups URL=http://groups.google.com/groups?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8 Query= Key=r Is post=0 Has endseparator=0 Encoding=utf-8 Search Type=0 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 5] Name=Google &News URL=http://news.google.com/news?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8 Query= Key=n Is post=0 Encoding=utf-8 Search Type=0 Verbtext=17063 Position=-1 Nameid=0 Has endseparator=-1 [Search Engine 6] Name=&Forums.Gentoo URL=http://forums.gentoo.org/search.php?search_keywords=%s Query= Key=f Is post=0 Encoding=urf-8 Search Type=0 Verbtext=17063 Position=-1 Nameid=0 Has endseparator=0 [Search Engine 7] Name=B&ugs.Gentoo URL=http://bugs.gentoo.org/show_bug.cgi?id=%s URL=http://bugs.gentoo.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__all__&product=&content=%s Query= Key=u Is post=0 Has endseparator=0 Encoding=utf-8 Search Type=0 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 8] Name=Gentoo-&Portage URL=http://www.gentoo-portage.com/search-result.php?search=%s Query= Key=p Is post=0 Has endseparator=0 Encoding=utf-8 Search Type=0 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 9] Name=Gentoo-&Wiki URL=http://gentoo-wiki.com/index.php?search=%s&go=Go Query= Key=w Is post=0 Has endseparator=0 Encoding=utf-8 Search Type=10 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 10] Name=Fr&eshmeat URL=http://freshmeat.net/search/?q=%s§ion=projects Query= Key=e Is post=0 Has endseparator=-1 Encoding=iso-8859-1 Search Type=4 Verbtext=17063 Position=-1 Nameid=0 [Search Engine 11] Name=&Dict.org URL=http://www.dict.org/bin/Dict?Form=Dict1&Query=%s&Strategy=*&Database=* Query= Key=d Is post=0 Has endseparator=0 Encoding=utf-8 Search Type=6 Verbtext=17063 Position=-1 Nameid=0 ... |
Note: If you missing an entrance in the Drop Down Menu, you porbably missing Key= value (in linux it's case sensitve)
[edit] Side Search Panel
Side Search Panel and Drop Down Search Menu side by side
To add buttons on your Side Panel in the Opera
you've got to edit ~/.opera/toolbar/standard_toolbar (1).ini
| File: ~/.opera/toolbar/standard_toolbar (1).ini |
|
... [Search Panel Toolbar.content] Search0 ;Button1, "Find in page search"=Search, 1 ;Spacer2 Button3, "Google search"=Search, 1 Button4, "Linux Google search"=Search, 2 Button5, "Groups Google search"=Search, 3 Button6, "News Google search"=Search, 4 Spacer7 Button8, "Forums.Gentoo search"=Search, 5 Button9, "Bugs.Gentoo search"=Search, 6 Button10, "Gentoo-Portage search"=Search, 7 Button11, "Gentoo-Wiki search"=Search, 8 Button12, "Freshmeat search"=Search, 9 ... |
Note:I commented out Button 1 so by default i have "Find in Page", see the screenshot
Epiphany users can add Smart Bookmarks from the URLs in the Opera section.

