Gentoo Wiki ArchivesGentoo Wiki

Opera

Contents

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.

Installation

To install Opera, run: emerge -av opera

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

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:

Now Opera should be back on-line. See also Http proxy and the original forum thread.

Plugins

Adobe Flash

See Adobe Flash.

Flash and Opera don't really get along. To make things more complicated, results depend on versions of both.

netscape-flash-7.0.68 netscape-flash-9.0.124.0 netscape-flash-10_rc20080915
opera-9.27 ? ? ?
opera-9.52 works partly: 1 works poorly: 1 works partly: 1
opera-9.60_pre2430 ? ? works poorly: 1

Note however that depending on how you configure your `Plug-in Options' you may have little to no problems displaying Flash content in Opera >=9.5. One of the main goals of the 9.5 release was to fix all plug-in related problems, Flash included. See related thread.

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.

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.

Searches

gentoo-portage SearchBar in Opera

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

http://forums.gentoo.org/search.php?search_keywords=%s

http://www.gentoo-portage.com/search-result.php?search=%s

http://bugs.gentoo.org/show_bug.cgi?id=%s

http://www.gentoo-wiki.info/index.php?search=%s&go=Go

Custom Drop Down Search

Search Preferences Tab in Opera
Opera Search Preferences Tab

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://www.gentoo-wiki.info/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&section=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)

Side Search Panel

Side Search Panel and Drop Down Search Menu side by side
Opera with Drop Down Search Bar and Side Search Panel
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.

Retrieved from "http://www.gentoo-wiki.info/Opera"

Last modified: Mon, 29 Sep 2008 11:12:00 +1000 Hits: 45,770

Created by NickStallman.net, Luxury Homes Australia
Real estate agents should list their apartments, townhouses and units in Australia.