diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2013-08-28 03:20:30 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2013-08-28 03:21:24 +0800 |
commit | 26bd9ea586b59ff6be37de5db4499d435922afac (patch) | |
tree | 0ed5595f223757d527d6997f752d28fd837667c2 | |
parent | 11d4399936b7d280490594a70a188115e8acb1d0 (diff) | |
download | gsoc2013-epiphany-26bd9ea586b59ff6be37de5db4499d435922afac.tar gsoc2013-epiphany-26bd9ea586b59ff6be37de5db4499d435922afac.tar.gz gsoc2013-epiphany-26bd9ea586b59ff6be37de5db4499d435922afac.tar.bz2 gsoc2013-epiphany-26bd9ea586b59ff6be37de5db4499d435922afac.tar.lz gsoc2013-epiphany-26bd9ea586b59ff6be37de5db4499d435922afac.tar.xz gsoc2013-epiphany-26bd9ea586b59ff6be37de5db4499d435922afac.tar.zst gsoc2013-epiphany-26bd9ea586b59ff6be37de5db4499d435922afac.zip |
Switch the default search engine to DuckDuckGo
-rw-r--r-- | data/default-bookmarks.rdf.in | 34 | ||||
-rw-r--r-- | data/org.gnome.epiphany.gschema.xml | 2 |
2 files changed, 25 insertions, 11 deletions
diff --git a/data/default-bookmarks.rdf.in b/data/default-bookmarks.rdf.in index 5c23ea6e5..2b9710684 100644 --- a/data/default-bookmarks.rdf.in +++ b/data/default-bookmarks.rdf.in @@ -5,19 +5,33 @@ <link>http://www.gnome.org/projects/epiphany/</link> <items> <rdf:Seq> - <rdf:li rdf:resource="http://www.google.com"/> + <rdf:li rdf:resource="http://duckduckgo.com"/> </rdf:Seq> </items> </channel> - <item rdf:about="http://www.google.com"> + <item rdf:about="http://duckduckgo.com"> <_title>Search the web</_title> - <!-- Translators you should change these links to respect your locale. - For instance in .nl these should be - "http://www.google.nl" and "http://www.google.nl/search?q=%s" --> - <_link>http://www.google.com</_link> - <!-- Translators you should change these links to respect your locale. - For instance in .nl these should be - "http://www.google.nl" and "http://www.google.nl/search?q=%s" --> - <_ephy:smartlink>http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8</_ephy:smartlink> + <!-- Translators: you can use the regions listed in + https://duckduckgo.com/params to boost a particular region + associated with your language. For instance, for translators + to Finnish, it might make sense to add kl=fi-fi to the search + URL in order to boost results from Finland. Additionally, the + 'kad' parameter can be used to specify the locale in which + duckduckgo must be translated. So, for a Finnish localized + version of duckduckgo that will render results tailored for + Finland, the string would be: + http://duckduckgo.com/?t=epiphany&kl=fi-fi&kal=fi_FI + --> + <_link>http://duckduckgo.com/?t=epiphany</_link> + <!-- Translators: you can use the regions listed in + https://duckduckgo.com/params to boost a particular region + associated with your language. For instance, for translators + to Finnish, it might make sense to add kl=fi-fi to the search + URL in order to boost results from Finland. Additionally, the + 'kad' parameter can be used to specify the locale in which + duckduckgo must be translated. For such case, the search url + would be + http://duckduckgo.com/?q=%s&t=epiphany&kl=fi-fi&kal=fi_FI --> + <_ephy:smartlink>http://duckduckgo.com/?q=%s&t=epiphany</_ephy:smartlink> </item> </rdf:RDF> diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml index b815635cc..9d61f050d 100644 --- a/data/org.gnome.epiphany.gschema.xml +++ b/data/org.gnome.epiphany.gschema.xml @@ -10,7 +10,7 @@ <summary>Browse with caret</summary> </key> <key type="s" name="keyword-search-url"> - <default>'http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8'</default> + <default>'http://duckduckgo.com/?q=%s&t=epiphany'</default> <summary>URL Search</summary> <description>Search string for keywords entered in the URL bar.</description> </key> |